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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 #endif // defined(ENABLE_MEDIA_ROUTER) | 282 #endif // defined(ENABLE_MEDIA_ROUTER) |
283 #if !defined(OS_ANDROID) | 283 #if !defined(OS_ANDROID) |
284 MediaGalleriesPreferencesFactory::GetInstance(); | 284 MediaGalleriesPreferencesFactory::GetInstance(); |
285 NTPResourceCacheFactory::GetInstance(); | 285 NTPResourceCacheFactory::GetInstance(); |
286 #endif | 286 #endif |
287 ContentSuggestionsServiceFactory::GetInstance(); | 287 ContentSuggestionsServiceFactory::GetInstance(); |
288 PasswordStoreFactory::GetInstance(); | 288 PasswordStoreFactory::GetInstance(); |
289 PasswordManagerSettingMigratorServiceFactory::GetInstance(); | 289 PasswordManagerSettingMigratorServiceFactory::GetInstance(); |
290 #if !defined(OS_ANDROID) | 290 #if !defined(OS_ANDROID) |
291 PinnedTabServiceFactory::GetInstance(); | 291 PinnedTabServiceFactory::GetInstance(); |
| 292 ThemeServiceFactory::GetInstance(); |
292 #endif | 293 #endif |
293 #if BUILDFLAG(ENABLE_PLUGINS) | 294 #if BUILDFLAG(ENABLE_PLUGINS) |
294 PluginPrefsFactory::GetInstance(); | 295 PluginPrefsFactory::GetInstance(); |
295 #endif | 296 #endif |
296 PrefsTabHelper::GetServiceInstance(); | 297 PrefsTabHelper::GetServiceInstance(); |
297 policy::ProfilePolicyConnectorFactory::GetInstance(); | 298 policy::ProfilePolicyConnectorFactory::GetInstance(); |
298 #if defined(OS_CHROMEOS) | 299 #if defined(OS_CHROMEOS) |
299 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); | 300 chromeos::OwnerSettingsServiceChromeOSFactory::GetInstance(); |
300 policy::PolicyCertServiceFactory::GetInstance(); | 301 policy::PolicyCertServiceFactory::GetInstance(); |
301 policy::RecommendationRestorerFactory::GetInstance(); | 302 policy::RecommendationRestorerFactory::GetInstance(); |
(...skipping 25 matching lines...) Expand all Loading... |
327 SiteEngagementServiceFactory::GetInstance(); | 328 SiteEngagementServiceFactory::GetInstance(); |
328 | 329 |
329 #if BUILDFLAG(ENABLE_SPELLCHECK) | 330 #if BUILDFLAG(ENABLE_SPELLCHECK) |
330 SpellcheckServiceFactory::GetInstance(); | 331 SpellcheckServiceFactory::GetInstance(); |
331 #endif | 332 #endif |
332 suggestions::SuggestionsServiceFactory::GetInstance(); | 333 suggestions::SuggestionsServiceFactory::GetInstance(); |
333 ThumbnailServiceFactory::GetInstance(); | 334 ThumbnailServiceFactory::GetInstance(); |
334 TabRestoreServiceFactory::GetInstance(); | 335 TabRestoreServiceFactory::GetInstance(); |
335 TemplateURLFetcherFactory::GetInstance(); | 336 TemplateURLFetcherFactory::GetInstance(); |
336 TemplateURLServiceFactory::GetInstance(); | 337 TemplateURLServiceFactory::GetInstance(); |
337 #if defined(ENABLE_THEMES) | |
338 ThemeServiceFactory::GetInstance(); | |
339 #endif | |
340 #if defined(OS_WIN) | 338 #if defined(OS_WIN) |
341 TriggeredProfileResetterFactory::GetInstance(); | 339 TriggeredProfileResetterFactory::GetInstance(); |
342 #endif | 340 #endif |
343 #if !defined(OS_ANDROID) | 341 #if !defined(OS_ANDROID) |
344 UsbChooserContextFactory::GetInstance(); | 342 UsbChooserContextFactory::GetInstance(); |
345 #endif | 343 #endif |
346 WebDataServiceFactory::GetInstance(); | 344 WebDataServiceFactory::GetInstance(); |
347 } | 345 } |
348 | 346 |
349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
351 } | 349 } |
OLD | NEW |