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 <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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "chrome/browser/sessions/session_service_factory.h" | 50 #include "chrome/browser/sessions/session_service_factory.h" |
51 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 51 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
52 #include "chrome/browser/signin/about_signin_internals_factory.h" | 52 #include "chrome/browser/signin/about_signin_internals_factory.h" |
53 #include "chrome/browser/signin/account_fetcher_service_factory.h" | 53 #include "chrome/browser/signin/account_fetcher_service_factory.h" |
54 #include "chrome/browser/signin/account_tracker_service_factory.h" | 54 #include "chrome/browser/signin/account_tracker_service_factory.h" |
55 #include "chrome/browser/signin/signin_manager_factory.h" | 55 #include "chrome/browser/signin/signin_manager_factory.h" |
56 #include "chrome/browser/sync/profile_sync_service_factory.h" | 56 #include "chrome/browser/sync/profile_sync_service_factory.h" |
57 #include "chrome/browser/themes/theme_service_factory.h" | 57 #include "chrome/browser/themes/theme_service_factory.h" |
58 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 58 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
59 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 59 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
| 60 #include "chrome/browser/ui/bluetooth/bluetooth_chooser_context_factory.h" |
60 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 61 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
61 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 62 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
62 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 63 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
63 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 64 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
64 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 65 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
65 #include "chrome/browser/web_data_service_factory.h" | 66 #include "chrome/browser/web_data_service_factory.h" |
66 | 67 |
67 #if defined(ENABLE_EXTENSIONS) | 68 #if defined(ENABLE_EXTENSIONS) |
68 #include "apps/browser_context_keyed_service_factories.h" | 69 #include "apps/browser_context_keyed_service_factories.h" |
69 #include "chrome/browser/apps/shortcut_manager_factory.h" | 70 #include "chrome/browser/apps/shortcut_manager_factory.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 app_list::AppListSyncableServiceFactory::GetInstance(); | 184 app_list::AppListSyncableServiceFactory::GetInstance(); |
184 #endif | 185 #endif |
185 | 186 |
186 AboutSigninInternalsFactory::GetInstance(); | 187 AboutSigninInternalsFactory::GetInstance(); |
187 AccountTrackerServiceFactory::GetInstance(); | 188 AccountTrackerServiceFactory::GetInstance(); |
188 AccountFetcherServiceFactory::GetInstance(); | 189 AccountFetcherServiceFactory::GetInstance(); |
189 autofill::PersonalDataManagerFactory::GetInstance(); | 190 autofill::PersonalDataManagerFactory::GetInstance(); |
190 #if defined(ENABLE_BACKGROUND) | 191 #if defined(ENABLE_BACKGROUND) |
191 BackgroundContentsServiceFactory::GetInstance(); | 192 BackgroundContentsServiceFactory::GetInstance(); |
192 #endif | 193 #endif |
| 194 BluetoothChooserContextFactory::GetInstance(); |
193 BookmarkModelFactory::GetInstance(); | 195 BookmarkModelFactory::GetInstance(); |
194 BookmarkUndoServiceFactory::GetInstance(); | 196 BookmarkUndoServiceFactory::GetInstance(); |
195 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 197 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
196 CaptivePortalServiceFactory::GetInstance(); | 198 CaptivePortalServiceFactory::GetInstance(); |
197 #endif | 199 #endif |
198 #if defined(OS_ANDROID) | 200 #if defined(OS_ANDROID) |
199 chrome::android::DataUseUITabModelFactory::GetInstance(); | 201 chrome::android::DataUseUITabModelFactory::GetInstance(); |
200 #endif | 202 #endif |
201 GeolocationPermissionContextFactory::GetInstance(); | 203 GeolocationPermissionContextFactory::GetInstance(); |
202 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) | 204 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 #endif | 341 #endif |
340 #if !defined(OS_ANDROID) | 342 #if !defined(OS_ANDROID) |
341 UsbChooserContextFactory::GetInstance(); | 343 UsbChooserContextFactory::GetInstance(); |
342 #endif | 344 #endif |
343 WebDataServiceFactory::GetInstance(); | 345 WebDataServiceFactory::GetInstance(); |
344 } | 346 } |
345 | 347 |
346 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 348 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
347 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 349 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
348 } | 350 } |
OLD | NEW |