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

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

Issue 2205233002: Combine all suggestions factories into ContentSuggestionsServiceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bernhard's comments Created 4 years, 4 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 <utility> 7 #include <utility>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/engagement/site_engagement_service.h" 23 #include "chrome/browser/engagement/site_engagement_service.h"
24 #include "chrome/browser/engagement/site_engagement_service_factory.h" 24 #include "chrome/browser/engagement/site_engagement_service_factory.h"
25 #include "chrome/browser/favicon/favicon_service_factory.h" 25 #include "chrome/browser/favicon/favicon_service_factory.h"
26 #include "chrome/browser/google/google_url_tracker_factory.h" 26 #include "chrome/browser/google/google_url_tracker_factory.h"
27 #include "chrome/browser/history/history_service_factory.h" 27 #include "chrome/browser/history/history_service_factory.h"
28 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 28 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
29 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 29 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
30 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h" 30 #include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h"
31 #include "chrome/browser/notifications/extension_welcome_notification_factory.h" 31 #include "chrome/browser/notifications/extension_welcome_notification_factory.h"
32 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" 32 #include "chrome/browser/notifications/notifier_state_tracker_factory.h"
33 #include "chrome/browser/ntp_snippets/ntp_snippets_service_factory.h" 33 #include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h"
34 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv ice_factory.h" 34 #include "chrome/browser/password_manager/password_manager_setting_migrator_serv ice_factory.h"
35 #include "chrome/browser/password_manager/password_store_factory.h" 35 #include "chrome/browser/password_manager/password_store_factory.h"
36 #include "chrome/browser/plugins/plugin_prefs_factory.h" 36 #include "chrome/browser/plugins/plugin_prefs_factory.h"
37 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" 37 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
38 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 38 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
39 #include "chrome/browser/policy/profile_policy_connector_factory.h" 39 #include "chrome/browser/policy/profile_policy_connector_factory.h"
40 #include "chrome/browser/policy/schema_registry_service_factory.h" 40 #include "chrome/browser/policy/schema_registry_service_factory.h"
41 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 41 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
42 #include "chrome/browser/predictors/predictor_database_factory.h" 42 #include "chrome/browser/predictors/predictor_database_factory.h"
43 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 43 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 networking_private_ui_delegate_factory( 259 networking_private_ui_delegate_factory(
260 new extensions::NetworkingPrivateUIDelegateFactoryImpl); 260 new extensions::NetworkingPrivateUIDelegateFactoryImpl);
261 extensions::NetworkingPrivateDelegateFactory::GetInstance() 261 extensions::NetworkingPrivateDelegateFactory::GetInstance()
262 ->SetUIDelegateFactory(std::move(networking_private_ui_delegate_factory)); 262 ->SetUIDelegateFactory(std::move(networking_private_ui_delegate_factory));
263 #endif 263 #endif
264 #endif 264 #endif
265 #if !defined(OS_ANDROID) 265 #if !defined(OS_ANDROID)
266 MediaGalleriesPreferencesFactory::GetInstance(); 266 MediaGalleriesPreferencesFactory::GetInstance();
267 NTPResourceCacheFactory::GetInstance(); 267 NTPResourceCacheFactory::GetInstance();
268 #endif 268 #endif
269 NTPSnippetsServiceFactory::GetInstance(); 269 ContentSuggestionsServiceFactory::GetInstance();
270 PasswordStoreFactory::GetInstance(); 270 PasswordStoreFactory::GetInstance();
271 PasswordManagerSettingMigratorServiceFactory::GetInstance(); 271 PasswordManagerSettingMigratorServiceFactory::GetInstance();
272 #if !defined(OS_ANDROID) 272 #if !defined(OS_ANDROID)
273 PinnedTabServiceFactory::GetInstance(); 273 PinnedTabServiceFactory::GetInstance();
274 #endif 274 #endif
275 #if defined(ENABLE_PLUGINS) 275 #if defined(ENABLE_PLUGINS)
276 PluginPrefsFactory::GetInstance(); 276 PluginPrefsFactory::GetInstance();
277 #endif 277 #endif
278 PrefsTabHelper::GetServiceInstance(); 278 PrefsTabHelper::GetServiceInstance();
279 policy::ProfilePolicyConnectorFactory::GetInstance(); 279 policy::ProfilePolicyConnectorFactory::GetInstance();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 #endif 326 #endif
327 #if !defined(OS_ANDROID) 327 #if !defined(OS_ANDROID)
328 UsbChooserContextFactory::GetInstance(); 328 UsbChooserContextFactory::GetInstance();
329 #endif 329 #endif
330 WebDataServiceFactory::GetInstance(); 330 WebDataServiceFactory::GetInstance();
331 } 331 }
332 332
333 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 333 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
334 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 334 EnsureBrowserContextKeyedServiceFactoriesBuilt();
335 } 335 }
OLDNEW
« no previous file with comments | « chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698