Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: chrome/browser/extensions/extension_sync_bundle.h

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "chrome/browser/extensions/extension_sync_data.h" 15 #include "chrome/browser/extensions/extension_sync_data.h"
16 #include "chrome/browser/extensions/sync_bundle.h" 16 #include "chrome/browser/extensions/sync_bundle.h"
17 #include "sync/api/syncable_service.h" 17 #include "sync/api/syncable_service.h"
18 18
19 class ExtensionSyncService; 19 class ExtensionSyncService;
20 class ExtensionSet;
21 20
22 namespace syncer { 21 namespace syncer {
23 class SyncChangeProcessor; 22 class SyncChangeProcessor;
24 class SyncErrorFactory; 23 class SyncErrorFactory;
25 } 24 }
26 25
27 namespace extensions { 26 namespace extensions {
28 27
29 class Extension; 28 class Extension;
29 class ExtensionSet;
30 30
31 // Bundle of extension specific sync stuff. 31 // Bundle of extension specific sync stuff.
32 class ExtensionSyncBundle : public SyncBundle { 32 class ExtensionSyncBundle : public SyncBundle {
33 public: 33 public:
34 explicit ExtensionSyncBundle(ExtensionSyncService* extension_sync_service); 34 explicit ExtensionSyncBundle(ExtensionSyncService* extension_sync_service);
35 virtual ~ExtensionSyncBundle(); 35 virtual ~ExtensionSyncBundle();
36 36
37 // Setup this bundle to be sync extension data. 37 // Setup this bundle to be sync extension data.
38 void SetupSync(syncer::SyncChangeProcessor* sync_processor, 38 void SetupSync(syncer::SyncChangeProcessor* sync_processor,
39 syncer::SyncErrorFactory* sync_error_factory, 39 syncer::SyncErrorFactory* sync_error_factory,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 std::set<std::string> synced_extensions_; 102 std::set<std::string> synced_extensions_;
103 std::map<std::string, ExtensionSyncData> pending_sync_data_; 103 std::map<std::string, ExtensionSyncData> pending_sync_data_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncBundle); 105 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncBundle);
106 }; 106 };
107 107
108 } // namespace extensions 108 } // namespace extensions
109 109
110 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_ 110 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_BUNDLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_startup_browsertest.cc ('k') | chrome/browser/extensions/extension_sync_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698