1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_
6 #define CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_
12 // Common interface between AppSyncBundle and ExtensionSyncBundle.
15 virtual ~SyncBundle() {}
17 // Has this bundle started syncing yet?
18 virtual bool IsSyncing() const = 0;
20 // Syncs changes to |extension|.
21 virtual void SyncChangeIfNeeded(const Extension
& extension
) = 0;
24 } // namespace extensions
26 #endif // CHROME_BROWSER_EXTENSIONS_SYNC_BUNDLE_H_