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_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 28 matching lines...) Expand all Loading... |
39 namespace sync_pb { | 39 namespace sync_pb { |
40 class AppListSpecifics; | 40 class AppListSpecifics; |
41 } | 41 } |
42 | 42 |
43 namespace user_prefs { | 43 namespace user_prefs { |
44 class PrefRegistrySyncable; | 44 class PrefRegistrySyncable; |
45 } | 45 } |
46 | 46 |
47 namespace app_list { | 47 namespace app_list { |
48 | 48 |
49 class AppListFolderItem; | |
50 class AppListItem; | 49 class AppListItem; |
51 class AppListModel; | 50 class AppListModel; |
52 | 51 |
53 // Keyed Service that owns, stores, and syncs an AppListModel for a profile. | 52 // Keyed Service that owns, stores, and syncs an AppListModel for a profile. |
54 class AppListSyncableService : public syncer::SyncableService, | 53 class AppListSyncableService : public syncer::SyncableService, |
55 public KeyedService, | 54 public KeyedService, |
56 public DriveAppUninstallSyncService { | 55 public DriveAppUninstallSyncService { |
57 public: | 56 public: |
58 struct SyncItem { | 57 struct SyncItem { |
59 SyncItem(const std::string& id, | 58 SyncItem(const std::string& id, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 std::unique_ptr<DriveAppProvider> drive_app_provider_; | 276 std::unique_ptr<DriveAppProvider> drive_app_provider_; |
278 | 277 |
279 base::WeakPtrFactory<AppListSyncableService> weak_ptr_factory_; | 278 base::WeakPtrFactory<AppListSyncableService> weak_ptr_factory_; |
280 | 279 |
281 DISALLOW_COPY_AND_ASSIGN(AppListSyncableService); | 280 DISALLOW_COPY_AND_ASSIGN(AppListSyncableService); |
282 }; | 281 }; |
283 | 282 |
284 } // namespace app_list | 283 } // namespace app_list |
285 | 284 |
286 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ | 285 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SYNCABLE_SERVICE_H_ |
OLD | NEW |