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

Side by Side Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 1256803002: [Smart Lock, Prefs reconciliation] Prefs migration logic for desktop platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
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 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
6 6
7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
9 #include "chrome/browser/autofill/personal_data_manager_factory.h" 9 #include "chrome/browser/autofill/personal_data_manager_factory.h"
10 #include "chrome/browser/background/background_contents_service_factory.h" 10 #include "chrome/browser/background/background_contents_service_factory.h"
11 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 11 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
12 #include "chrome/browser/chrome_browser_main.h" 12 #include "chrome/browser/chrome_browser_main.h"
13 #include "chrome/browser/content_settings/cookie_settings_factory.h" 13 #include "chrome/browser/content_settings/cookie_settings_factory.h"
14 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 14 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
16 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" 16 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
17 #include "chrome/browser/domain_reliability/service_factory.h" 17 #include "chrome/browser/domain_reliability/service_factory.h"
18 #include "chrome/browser/download/download_service_factory.h" 18 #include "chrome/browser/download/download_service_factory.h"
19 #include "chrome/browser/engagement/site_engagement_service.h" 19 #include "chrome/browser/engagement/site_engagement_service.h"
20 #include "chrome/browser/engagement/site_engagement_service_factory.h" 20 #include "chrome/browser/engagement/site_engagement_service_factory.h"
21 #include "chrome/browser/favicon/favicon_service_factory.h" 21 #include "chrome/browser/favicon/favicon_service_factory.h"
22 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" 22 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h"
23 #include "chrome/browser/google/google_url_tracker_factory.h" 23 #include "chrome/browser/google/google_url_tracker_factory.h"
24 #include "chrome/browser/history/history_service_factory.h" 24 #include "chrome/browser/history/history_service_factory.h"
25 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 25 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
26 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 26 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
27 #include "chrome/browser/notifications/extension_welcome_notification_factory.h" 27 #include "chrome/browser/notifications/extension_welcome_notification_factory.h"
28 #include "chrome/browser/notifications/notification_permission_context_factory.h " 28 #include "chrome/browser/notifications/notification_permission_context_factory.h "
29 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" 29 #include "chrome/browser/notifications/notifier_state_tracker_factory.h"
30 #include "chrome/browser/password_manager/password_manager_setting_migrater_serv ice.h"
30 #include "chrome/browser/password_manager/password_store_factory.h" 31 #include "chrome/browser/password_manager/password_store_factory.h"
31 #include "chrome/browser/plugins/plugin_prefs_factory.h" 32 #include "chrome/browser/plugins/plugin_prefs_factory.h"
32 #include "chrome/browser/policy/profile_policy_connector_factory.h" 33 #include "chrome/browser/policy/profile_policy_connector_factory.h"
33 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 34 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
34 #include "chrome/browser/predictors/predictor_database_factory.h" 35 #include "chrome/browser/predictors/predictor_database_factory.h"
35 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 36 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
36 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 37 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
37 #include "chrome/browser/prerender/prerender_manager_factory.h" 38 #include "chrome/browser/prerender/prerender_manager_factory.h"
38 #include "chrome/browser/prerender/prerender_message_filter.h" 39 #include "chrome/browser/prerender/prerender_message_filter.h"
39 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 40 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 new extensions::NetworkingPrivateUIDelegateFactoryImpl); 265 new extensions::NetworkingPrivateUIDelegateFactoryImpl);
265 extensions::NetworkingPrivateDelegateFactory::GetInstance() 266 extensions::NetworkingPrivateDelegateFactory::GetInstance()
266 ->SetUIDelegateFactory(networking_private_ui_delegate_factory.Pass()); 267 ->SetUIDelegateFactory(networking_private_ui_delegate_factory.Pass());
267 #endif 268 #endif
268 #endif 269 #endif
269 #if !defined(OS_ANDROID) 270 #if !defined(OS_ANDROID)
270 MediaGalleriesPreferencesFactory::GetInstance(); 271 MediaGalleriesPreferencesFactory::GetInstance();
271 NTPResourceCacheFactory::GetInstance(); 272 NTPResourceCacheFactory::GetInstance();
272 #endif 273 #endif
273 PasswordStoreFactory::GetInstance(); 274 PasswordStoreFactory::GetInstance();
275 PasswordManagerSettingMigraterService::Factory::GetInstance();
274 #if !defined(OS_ANDROID) 276 #if !defined(OS_ANDROID)
275 PinnedTabServiceFactory::GetInstance(); 277 PinnedTabServiceFactory::GetInstance();
276 #endif 278 #endif
277 #if defined(ENABLE_PLUGINS) 279 #if defined(ENABLE_PLUGINS)
278 PluginPrefsFactory::GetInstance(); 280 PluginPrefsFactory::GetInstance();
279 #endif 281 #endif
280 PrefsTabHelper::GetServiceInstance(); 282 PrefsTabHelper::GetServiceInstance();
281 policy::ProfilePolicyConnectorFactory::GetInstance(); 283 policy::ProfilePolicyConnectorFactory::GetInstance();
282 #if defined(ENABLE_CONFIGURATION_POLICY) 284 #if defined(ENABLE_CONFIGURATION_POLICY)
283 #if defined(OS_CHROMEOS) 285 #if defined(OS_CHROMEOS)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 TemplateURLServiceFactory::GetInstance(); 328 TemplateURLServiceFactory::GetInstance();
327 #if defined(ENABLE_THEMES) 329 #if defined(ENABLE_THEMES)
328 ThemeServiceFactory::GetInstance(); 330 ThemeServiceFactory::GetInstance();
329 #endif 331 #endif
330 WebDataServiceFactory::GetInstance(); 332 WebDataServiceFactory::GetInstance();
331 } 333 }
332 334
333 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 335 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
334 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 336 EnsureBrowserContextKeyedServiceFactoriesBuilt();
335 } 337 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698