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

Side by Side Diff: chrome/browser/sync/chrome_sync_client.cc

Issue 2410993002: [Merge To M54]:arc: Fix Android App resurrected by sync. (Closed)
Patch Set: Created 4 years, 2 months 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
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/sync_arc_package_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chrome/browser/sync/chrome_sync_client.h" 5 #include "chrome/browser/sync/chrome_sync_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/browser/profiles/profile_manager.h" 24 #include "chrome/browser/profiles/profile_manager.h"
25 #include "chrome/browser/search_engines/template_url_service_factory.h" 25 #include "chrome/browser/search_engines/template_url_service_factory.h"
26 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 26 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
27 #include "chrome/browser/sync/glue/sync_start_util.h" 27 #include "chrome/browser/sync/glue/sync_start_util.h"
28 #include "chrome/browser/sync/glue/theme_data_type_controller.h" 28 #include "chrome/browser/sync/glue/theme_data_type_controller.h"
29 #include "chrome/browser/sync/profile_sync_service_factory.h" 29 #include "chrome/browser/sync/profile_sync_service_factory.h"
30 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h" 30 #include "chrome/browser/sync/sessions/notification_service_sessions_router.h"
31 #include "chrome/browser/themes/theme_service.h" 31 #include "chrome/browser/themes/theme_service.h"
32 #include "chrome/browser/themes/theme_service_factory.h" 32 #include "chrome/browser/themes/theme_service_factory.h"
33 #include "chrome/browser/themes/theme_syncable_service.h" 33 #include "chrome/browser/themes/theme_syncable_service.h"
34 #include "chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.h "
35 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h" 34 #include "chrome/browser/ui/sync/browser_synced_window_delegates_getter.h"
36 #include "chrome/browser/undo/bookmark_undo_service_factory.h" 35 #include "chrome/browser/undo/bookmark_undo_service_factory.h"
37 #include "chrome/browser/web_data_service_factory.h" 36 #include "chrome/browser/web_data_service_factory.h"
38 #include "chrome/common/channel_info.h" 37 #include "chrome/common/channel_info.h"
39 #include "chrome/common/features.h" 38 #include "chrome/common/features.h"
40 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
41 #include "chrome/common/url_constants.h" 40 #include "chrome/common/url_constants.h"
42 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h" 41 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h"
43 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h" 42 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h"
44 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync able_service.h" 43 #include "components/autofill/core/browser/webdata/autofill_wallet_metadata_sync able_service.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 #if defined(ENABLE_SPELLCHECK) 95 #if defined(ENABLE_SPELLCHECK)
97 #include "chrome/browser/spellchecker/spellcheck_factory.h" 96 #include "chrome/browser/spellchecker/spellcheck_factory.h"
98 #include "chrome/browser/spellchecker/spellcheck_service.h" 97 #include "chrome/browser/spellchecker/spellcheck_service.h"
99 #endif 98 #endif
100 99
101 #if BUILDFLAG(ANDROID_JAVA_UI) 100 #if BUILDFLAG(ANDROID_JAVA_UI)
102 #include "chrome/browser/sync/glue/synced_window_delegates_getter_android.h" 101 #include "chrome/browser/sync/glue/synced_window_delegates_getter_android.h"
103 #endif 102 #endif
104 103
105 #if defined(OS_CHROMEOS) 104 #if defined(OS_CHROMEOS)
105 #include "chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.h "
106 #include "chrome/browser/ui/app_list/arc/arc_package_syncable_service.h" 106 #include "chrome/browser/ui/app_list/arc/arc_package_syncable_service.h"
107 #include "components/wifi_sync/wifi_credential_syncable_service.h" 107 #include "components/wifi_sync/wifi_credential_syncable_service.h"
108 #include "components/wifi_sync/wifi_credential_syncable_service_factory.h" 108 #include "components/wifi_sync/wifi_credential_syncable_service_factory.h"
109 #endif 109 #endif
110 110
111 using content::BrowserThread; 111 using content::BrowserThread;
112 #if defined(ENABLE_EXTENSIONS) 112 #if defined(ENABLE_EXTENSIONS)
113 using browser_sync::ExtensionDataTypeController; 113 using browser_sync::ExtensionDataTypeController;
114 using browser_sync::ExtensionSettingDataTypeController; 114 using browser_sync::ExtensionSettingDataTypeController;
115 #endif 115 #endif
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 sync_service->RegisterDataTypeController( 620 sync_service->RegisterDataTypeController(
621 new SupervisedUserSyncDataTypeController(syncer::SUPERVISED_USER_SETTINGS, 621 new SupervisedUserSyncDataTypeController(syncer::SUPERVISED_USER_SETTINGS,
622 error_callback, this, profile_)); 622 error_callback, this, profile_));
623 sync_service->RegisterDataTypeController( 623 sync_service->RegisterDataTypeController(
624 new SupervisedUserSyncDataTypeController( 624 new SupervisedUserSyncDataTypeController(
625 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_)); 625 syncer::SUPERVISED_USER_WHITELISTS, error_callback, this, profile_));
626 #endif 626 #endif
627 } 627 }
628 628
629 } // namespace browser_sync 629 } // namespace browser_sync
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/sync_arc_package_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698