| 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 "apps/app_keep_alive_service_factory.h" | 7 #include "apps/app_keep_alive_service_factory.h" |
| 8 #include "apps/app_load_service_factory.h" | 8 #include "apps/app_load_service_factory.h" |
| 9 #include "apps/app_restore_service_factory.h" | 9 #include "apps/app_restore_service_factory.h" |
| 10 #include "apps/shell_window_geometry_cache.h" | 10 #include "apps/shell_window_geometry_cache.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "chrome/browser/signin/signin_manager_factory.h" | 44 #include "chrome/browser/signin/signin_manager_factory.h" |
| 45 #include "chrome/browser/signin/token_service_factory.h" | 45 #include "chrome/browser/signin/token_service_factory.h" |
| 46 #include "chrome/browser/speech/extension_api/tts_extension_api.h" | 46 #include "chrome/browser/speech/extension_api/tts_extension_api.h" |
| 47 #include "chrome/browser/sync/profile_sync_service_factory.h" | 47 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 48 #include "chrome/browser/themes/theme_service_factory.h" | 48 #include "chrome/browser/themes/theme_service_factory.h" |
| 49 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 49 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 50 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 50 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 51 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 51 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 52 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 52 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 53 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 53 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 54 #include "chrome/browser/user_style_sheet_watcher_factory.h" | |
| 55 #include "chrome/browser/webdata/web_data_service_factory.h" | 54 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 56 | 55 |
| 57 #if defined(ENABLE_EXTENSIONS) | 56 #if defined(ENABLE_EXTENSIONS) |
| 58 #include "chrome/browser/extensions/activity_log/activity_log.h" | 57 #include "chrome/browser/extensions/activity_log/activity_log.h" |
| 59 #include "chrome/browser/extensions/api/activity_log_private/activity_log_privat
e_api.h" | 58 #include "chrome/browser/extensions/api/activity_log_private/activity_log_privat
e_api.h" |
| 60 #include "chrome/browser/extensions/api/alarms/alarm_manager.h" | 59 #include "chrome/browser/extensions/api/alarms/alarm_manager.h" |
| 61 #include "chrome/browser/extensions/api/api_resource_manager.h" | 60 #include "chrome/browser/extensions/api/api_resource_manager.h" |
| 62 #include "chrome/browser/extensions/api/audio/audio_api.h" | 61 #include "chrome/browser/extensions/api/audio/audio_api.h" |
| 63 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h" | 62 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h" |
| 64 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" | 63 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 TabRestoreServiceFactory::GetInstance(); | 363 TabRestoreServiceFactory::GetInstance(); |
| 365 TemplateURLFetcherFactory::GetInstance(); | 364 TemplateURLFetcherFactory::GetInstance(); |
| 366 TemplateURLServiceFactory::GetInstance(); | 365 TemplateURLServiceFactory::GetInstance(); |
| 367 #if defined(ENABLE_THEMES) | 366 #if defined(ENABLE_THEMES) |
| 368 ThemeServiceFactory::GetInstance(); | 367 ThemeServiceFactory::GetInstance(); |
| 369 #endif | 368 #endif |
| 370 #if defined(ENABLE_EXTENSIONS) | 369 #if defined(ENABLE_EXTENSIONS) |
| 371 TokenCacheServiceFactory::GetInstance(); | 370 TokenCacheServiceFactory::GetInstance(); |
| 372 #endif | 371 #endif |
| 373 TokenServiceFactory::GetInstance(); | 372 TokenServiceFactory::GetInstance(); |
| 374 #if !defined(OS_ANDROID) | |
| 375 UserStyleSheetWatcherFactory::GetInstance(); | |
| 376 #endif | |
| 377 WebDataServiceFactory::GetInstance(); | 373 WebDataServiceFactory::GetInstance(); |
| 378 } | 374 } |
| 379 | 375 |
| 380 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 376 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 381 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 377 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 382 } | 378 } |
| OLD | NEW |