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 #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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 65 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
66 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 66 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
67 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 67 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
68 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 68 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
69 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 69 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
70 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 70 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
71 #include "chrome/browser/web_data_service_factory.h" | 71 #include "chrome/browser/web_data_service_factory.h" |
72 #include "chrome/common/features.h" | 72 #include "chrome/common/features.h" |
73 #include "components/spellcheck/spellcheck_build_features.h" | 73 #include "components/spellcheck/spellcheck_build_features.h" |
74 #include "extensions/features/features.h" | 74 #include "extensions/features/features.h" |
| 75 #include "ppapi/features/features.h" |
75 #include "printing/features/features.h" | 76 #include "printing/features/features.h" |
76 | 77 |
77 #if BUILDFLAG(ENABLE_EXTENSIONS) | 78 #if BUILDFLAG(ENABLE_EXTENSIONS) |
78 #include "apps/browser_context_keyed_service_factories.h" | 79 #include "apps/browser_context_keyed_service_factories.h" |
79 #include "chrome/browser/apps/shortcut_manager_factory.h" | 80 #include "chrome/browser/apps/shortcut_manager_factory.h" |
80 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" | 81 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" |
81 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" | 82 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" |
82 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 83 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
83 #include "chrome/browser/extensions/extension_management.h" | 84 #include "chrome/browser/extensions/extension_management.h" |
84 #include "chrome/browser/search/hotword_service_factory.h" | 85 #include "chrome/browser/search/hotword_service_factory.h" |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 #if !defined(OS_ANDROID) | 285 #if !defined(OS_ANDROID) |
285 MediaGalleriesPreferencesFactory::GetInstance(); | 286 MediaGalleriesPreferencesFactory::GetInstance(); |
286 NTPResourceCacheFactory::GetInstance(); | 287 NTPResourceCacheFactory::GetInstance(); |
287 #endif | 288 #endif |
288 ContentSuggestionsServiceFactory::GetInstance(); | 289 ContentSuggestionsServiceFactory::GetInstance(); |
289 PasswordStoreFactory::GetInstance(); | 290 PasswordStoreFactory::GetInstance(); |
290 PasswordManagerSettingMigratorServiceFactory::GetInstance(); | 291 PasswordManagerSettingMigratorServiceFactory::GetInstance(); |
291 #if !defined(OS_ANDROID) | 292 #if !defined(OS_ANDROID) |
292 PinnedTabServiceFactory::GetInstance(); | 293 PinnedTabServiceFactory::GetInstance(); |
293 #endif | 294 #endif |
294 #if defined(ENABLE_PLUGINS) | 295 #if BUILDFLAG(ENABLE_PLUGINS) |
295 PluginPrefsFactory::GetInstance(); | 296 PluginPrefsFactory::GetInstance(); |
296 #endif | 297 #endif |
297 PrefsTabHelper::GetServiceInstance(); | 298 PrefsTabHelper::GetServiceInstance(); |
298 policy::ProfilePolicyConnectorFactory::GetInstance(); | 299 policy::ProfilePolicyConnectorFactory::GetInstance(); |
299 #if defined(OS_CHROMEOS) | 300 #if defined(OS_CHROMEOS) |
300 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 301 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); |
301 policy::PolicyCertServiceFactory::GetInstance(); | 302 policy::PolicyCertServiceFactory::GetInstance(); |
302 policy::RecommendationRestorerFactory::GetInstance(); | 303 policy::RecommendationRestorerFactory::GetInstance(); |
303 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); | 304 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); |
304 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); | 305 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 #endif | 344 #endif |
344 #if !defined(OS_ANDROID) | 345 #if !defined(OS_ANDROID) |
345 UsbChooserContextFactory::GetInstance(); | 346 UsbChooserContextFactory::GetInstance(); |
346 #endif | 347 #endif |
347 WebDataServiceFactory::GetInstance(); | 348 WebDataServiceFactory::GetInstance(); |
348 } | 349 } |
349 | 350 |
350 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 351 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
351 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 352 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
352 } | 353 } |
OLD | NEW |