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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" | 78 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" |
79 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 79 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
80 #include "chrome/browser/extensions/extension_management.h" | 80 #include "chrome/browser/extensions/extension_management.h" |
81 #include "chrome/browser/search/hotword_service_factory.h" | 81 #include "chrome/browser/search/hotword_service_factory.h" |
82 #include "chrome/browser/signin/easy_unlock_service_factory.h" | 82 #include "chrome/browser/signin/easy_unlock_service_factory.h" |
83 #include "chrome/browser/ui/bookmarks/enhanced_bookmark_key_service_factory.h" | 83 #include "chrome/browser/ui/bookmarks/enhanced_bookmark_key_service_factory.h" |
84 #include "extensions/browser/api/networking_private/networking_private_delegate_
factory.h" | 84 #include "extensions/browser/api/networking_private/networking_private_delegate_
factory.h" |
85 #include "extensions/browser/browser_context_keyed_service_factories.h" | 85 #include "extensions/browser/browser_context_keyed_service_factories.h" |
86 #endif | 86 #endif |
87 | 87 |
88 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 88 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
89 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 89 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
90 #endif | 90 #endif |
91 | 91 |
92 #if defined(OS_CHROMEOS) | 92 #if defined(OS_CHROMEOS) |
93 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 93 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" |
94 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 94 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
95 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" | 95 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" |
96 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" | 96 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom
eos.h" |
97 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" | 97 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto
ry.h" |
98 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" | 98 #include "chrome/browser/chromeos/policy/user_network_configuration_updater_fact
ory.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 AccountInvestigatorFactory::GetInstance(); | 189 AccountInvestigatorFactory::GetInstance(); |
190 AccountTrackerServiceFactory::GetInstance(); | 190 AccountTrackerServiceFactory::GetInstance(); |
191 AccountFetcherServiceFactory::GetInstance(); | 191 AccountFetcherServiceFactory::GetInstance(); |
192 autofill::PersonalDataManagerFactory::GetInstance(); | 192 autofill::PersonalDataManagerFactory::GetInstance(); |
193 #if BUILDFLAG(ENABLE_BACKGROUND) | 193 #if BUILDFLAG(ENABLE_BACKGROUND) |
194 BackgroundContentsServiceFactory::GetInstance(); | 194 BackgroundContentsServiceFactory::GetInstance(); |
195 #endif | 195 #endif |
196 BookmarkModelFactory::GetInstance(); | 196 BookmarkModelFactory::GetInstance(); |
197 BookmarkUndoServiceFactory::GetInstance(); | 197 BookmarkUndoServiceFactory::GetInstance(); |
198 BrowsingDataRemoverFactory::GetInstance(); | 198 BrowsingDataRemoverFactory::GetInstance(); |
199 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 199 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
200 CaptivePortalServiceFactory::GetInstance(); | 200 CaptivePortalServiceFactory::GetInstance(); |
201 #endif | 201 #endif |
202 #if defined(OS_ANDROID) | 202 #if defined(OS_ANDROID) |
203 chrome::android::DataUseUITabModelFactory::GetInstance(); | 203 chrome::android::DataUseUITabModelFactory::GetInstance(); |
204 #endif | 204 #endif |
205 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 205 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
206 #if defined(ENABLE_PRINT_PREVIEW) | 206 #if defined(ENABLE_PRINT_PREVIEW) |
207 CloudPrintProxyServiceFactory::GetInstance(); | 207 CloudPrintProxyServiceFactory::GetInstance(); |
208 #endif | 208 #endif |
209 CookieSettingsFactory::GetInstance(); | 209 CookieSettingsFactory::GetInstance(); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 #endif | 340 #endif |
341 #if !defined(OS_ANDROID) | 341 #if !defined(OS_ANDROID) |
342 UsbChooserContextFactory::GetInstance(); | 342 UsbChooserContextFactory::GetInstance(); |
343 #endif | 343 #endif |
344 WebDataServiceFactory::GetInstance(); | 344 WebDataServiceFactory::GetInstance(); |
345 } | 345 } |
346 | 346 |
347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
349 } | 349 } |
OLD | NEW |