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 "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
9 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
10 #include "chrome/browser/background/background_contents_service_factory.h" | 10 #include "chrome/browser/background/background_contents_service_factory.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "chrome/browser/signin/signin_manager_factory.h" | 51 #include "chrome/browser/signin/signin_manager_factory.h" |
52 #include "chrome/browser/sync/profile_sync_service_factory.h" | 52 #include "chrome/browser/sync/profile_sync_service_factory.h" |
53 #include "chrome/browser/themes/theme_service_factory.h" | 53 #include "chrome/browser/themes/theme_service_factory.h" |
54 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 54 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
55 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 55 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
56 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 56 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
57 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 57 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
58 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 58 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
59 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 59 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
60 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 60 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
| 61 #include "chrome/browser/usb/usb_chooser_context_factory.h" |
61 #include "chrome/browser/web_data_service_factory.h" | 62 #include "chrome/browser/web_data_service_factory.h" |
62 | 63 |
63 #if defined(ENABLE_EXTENSIONS) | 64 #if defined(ENABLE_EXTENSIONS) |
64 #include "apps/browser_context_keyed_service_factories.h" | 65 #include "apps/browser_context_keyed_service_factories.h" |
65 #include "chrome/browser/apps/ephemeral_app_service_factory.h" | 66 #include "chrome/browser/apps/ephemeral_app_service_factory.h" |
66 #include "chrome/browser/apps/shortcut_manager_factory.h" | 67 #include "chrome/browser/apps/shortcut_manager_factory.h" |
67 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" | 68 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" |
68 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" | 69 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" |
69 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 70 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
70 #include "chrome/browser/extensions/extension_management.h" | 71 #include "chrome/browser/extensions/extension_management.h" |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 ThumbnailServiceFactory::GetInstance(); | 326 ThumbnailServiceFactory::GetInstance(); |
326 TabRestoreServiceFactory::GetInstance(); | 327 TabRestoreServiceFactory::GetInstance(); |
327 TemplateURLFetcherFactory::GetInstance(); | 328 TemplateURLFetcherFactory::GetInstance(); |
328 TemplateURLServiceFactory::GetInstance(); | 329 TemplateURLServiceFactory::GetInstance(); |
329 #if defined(ENABLE_THEMES) | 330 #if defined(ENABLE_THEMES) |
330 ThemeServiceFactory::GetInstance(); | 331 ThemeServiceFactory::GetInstance(); |
331 #endif | 332 #endif |
332 #if defined(OS_WIN) | 333 #if defined(OS_WIN) |
333 TriggeredProfileResetterFactory::GetInstance(); | 334 TriggeredProfileResetterFactory::GetInstance(); |
334 #endif | 335 #endif |
| 336 UsbChooserContextFactory::GetInstance(); |
335 WebDataServiceFactory::GetInstance(); | 337 WebDataServiceFactory::GetInstance(); |
336 } | 338 } |
337 | 339 |
338 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 340 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
339 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 341 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
340 } | 342 } |
OLD | NEW |