OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/gtest_prod_util.h" |
11 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
12 #include "base/version.h" | 13 #include "base/version.h" |
13 #include "chrome/browser/extensions/sync_bundle.h" | 14 #include "chrome/browser/extensions/sync_bundle.h" |
14 #include "components/keyed_service/core/keyed_service.h" | 15 #include "components/keyed_service/core/keyed_service.h" |
15 #include "extensions/browser/extension_prefs_observer.h" | 16 #include "extensions/browser/extension_prefs_observer.h" |
16 #include "extensions/browser/extension_registry_observer.h" | 17 #include "extensions/browser/extension_registry_observer.h" |
17 #include "sync/api/syncable_service.h" | 18 #include "sync/api/syncable_service.h" |
18 | 19 |
19 class ExtensionService; | 20 class ExtensionService; |
20 class Profile; | 21 class Profile; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 127 |
127 // Run()ning tells sync to try and start soon, because syncable changes | 128 // Run()ning tells sync to try and start soon, because syncable changes |
128 // have started happening. It will cause sync to call us back | 129 // have started happening. It will cause sync to call us back |
129 // asynchronously via MergeDataAndStartSyncing as soon as possible. | 130 // asynchronously via MergeDataAndStartSyncing as soon as possible. |
130 syncer::SyncableService::StartSyncFlare flare_; | 131 syncer::SyncableService::StartSyncFlare flare_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncService); | 133 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncService); |
133 }; | 134 }; |
134 | 135 |
135 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ | 136 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ |
OLD | NEW |