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