Rename desktop_cursor_loader_updater_aurax11.
[chromium-blink-merge.git] / chrome / browser / extensions / sync_bundle.h
blobe37465c47028c4ccb8490301280c100653860835
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_
8 namespace extensions {
10 class Extension;
12 // Common interface between AppSyncBundle and ExtensionSyncBundle.
13 class SyncBundle {
14 public:
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_