OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "chrome/browser/sync/glue/sync_start_util.h" | 15 #include "chrome/browser/sync/glue/sync_start_util.h" |
16 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 16 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
18 #include "components/sync/api/sync_change.h" | 18 #include "components/sync/model/sync_change.h" |
19 #include "components/sync/api/sync_change_processor.h" | 19 #include "components/sync/model/sync_change_processor.h" |
20 #include "components/sync/api/sync_error_factory.h" | 20 #include "components/sync/model/sync_error_factory.h" |
21 #include "components/sync/api/syncable_service.h" | 21 #include "components/sync/model/syncable_service.h" |
22 #include "components/sync/protocol/arc_package_specifics.pb.h" | 22 #include "components/sync/protocol/arc_package_specifics.pb.h" |
23 | 23 |
24 class Profile; | 24 class Profile; |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class BrowserContext; | 27 class BrowserContext; |
28 } // namespace content | 28 } // namespace content |
29 | 29 |
30 namespace arc { | 30 namespace arc { |
31 | 31 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 syncer::SyncableService::StartSyncFlare flare_; | 129 syncer::SyncableService::StartSyncFlare flare_; |
130 | 130 |
131 ArcAppListPrefs* const prefs_; | 131 ArcAppListPrefs* const prefs_; |
132 | 132 |
133 DISALLOW_COPY_AND_ASSIGN(ArcPackageSyncableService); | 133 DISALLOW_COPY_AND_ASSIGN(ArcPackageSyncableService); |
134 }; | 134 }; |
135 | 135 |
136 } // namespace arc | 136 } // namespace arc |
137 | 137 |
138 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ | 138 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_PACKAGE_SYNCABLE_SERVICE_H_ |
OLD | NEW |