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/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "chrome/browser/extensions/app_sync_bundle.h" | 12 #include "chrome/browser/extensions/app_sync_bundle.h" |
13 #include "chrome/browser/extensions/extension_prefs.h" | 13 #include "chrome/browser/extensions/extension_prefs.h" |
14 #include "chrome/browser/extensions/extension_sync_bundle.h" | 14 #include "chrome/browser/extensions/extension_sync_bundle.h" |
15 #include "chrome/browser/extensions/pending_enables.h" | 15 #include "chrome/browser/extensions/pending_enables.h" |
16 #include "chrome/common/extensions/extension.h" | |
17 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 16 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
| 17 #include "extensions/common/extension.h" |
18 #include "sync/api/string_ordinal.h" | 18 #include "sync/api/string_ordinal.h" |
19 #include "sync/api/sync_change.h" | 19 #include "sync/api/sync_change.h" |
20 #include "sync/api/syncable_service.h" | 20 #include "sync/api/syncable_service.h" |
21 | 21 |
22 class ExtensionErrorUI; | 22 class ExtensionErrorUI; |
23 class ExtensionSyncData; | 23 class ExtensionSyncData; |
24 class Profile; | 24 class Profile; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class SequencedTaskRunner; | 27 class SequencedTaskRunner; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 // Run()ning tells sync to try and start soon, because syncable changes | 149 // Run()ning tells sync to try and start soon, because syncable changes |
150 // have started happening. It will cause sync to call us back | 150 // have started happening. It will cause sync to call us back |
151 // asynchronously via MergeDataAndStartSyncing as soon as possible. | 151 // asynchronously via MergeDataAndStartSyncing as soon as possible. |
152 syncer::SyncableService::StartSyncFlare flare_; | 152 syncer::SyncableService::StartSyncFlare flare_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncService); | 154 DISALLOW_COPY_AND_ASSIGN(ExtensionSyncService); |
155 }; | 155 }; |
156 | 156 |
157 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ | 157 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYNC_SERVICE_H_ |
OLD | NEW |