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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 52 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
53 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 53 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
54 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 54 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
55 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 55 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
56 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 56 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
57 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 57 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
58 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 58 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
59 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 59 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
60 #include "chrome/browser/web_data_service_factory.h" | 60 #include "chrome/browser/web_data_service_factory.h" |
61 | 61 |
| 62 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 63 #include "chrome/browser/webusb_detector_factory.h" |
| 64 #endif |
| 65 |
62 #if defined(ENABLE_EXTENSIONS) | 66 #if defined(ENABLE_EXTENSIONS) |
63 #include "apps/browser_context_keyed_service_factories.h" | 67 #include "apps/browser_context_keyed_service_factories.h" |
64 #include "chrome/browser/apps/ephemeral_app_service_factory.h" | 68 #include "chrome/browser/apps/ephemeral_app_service_factory.h" |
65 #include "chrome/browser/apps/shortcut_manager_factory.h" | 69 #include "chrome/browser/apps/shortcut_manager_factory.h" |
66 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" | 70 #include "chrome/browser/extensions/api/networking_private/networking_private_ui
_delegate_factory_impl.h" |
67 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" | 71 #include "chrome/browser/extensions/api/networking_private/networking_private_ve
rify_delegate_factory_impl.h" |
68 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" | 72 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
69 #include "chrome/browser/extensions/extension_management.h" | 73 #include "chrome/browser/extensions/extension_management.h" |
70 #include "chrome/browser/search/hotword_service_factory.h" | 74 #include "chrome/browser/search/hotword_service_factory.h" |
71 #include "chrome/browser/signin/easy_unlock_service_factory.h" | 75 #include "chrome/browser/signin/easy_unlock_service_factory.h" |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 #endif | 323 #endif |
320 suggestions::SuggestionsServiceFactory::GetInstance(); | 324 suggestions::SuggestionsServiceFactory::GetInstance(); |
321 ThumbnailServiceFactory::GetInstance(); | 325 ThumbnailServiceFactory::GetInstance(); |
322 TabRestoreServiceFactory::GetInstance(); | 326 TabRestoreServiceFactory::GetInstance(); |
323 TemplateURLFetcherFactory::GetInstance(); | 327 TemplateURLFetcherFactory::GetInstance(); |
324 TemplateURLServiceFactory::GetInstance(); | 328 TemplateURLServiceFactory::GetInstance(); |
325 #if defined(ENABLE_THEMES) | 329 #if defined(ENABLE_THEMES) |
326 ThemeServiceFactory::GetInstance(); | 330 ThemeServiceFactory::GetInstance(); |
327 #endif | 331 #endif |
328 WebDataServiceFactory::GetInstance(); | 332 WebDataServiceFactory::GetInstance(); |
| 333 |
| 334 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 335 WebUsbDetectorFactory::GetInstance(); |
| 336 #endif |
329 } | 337 } |
330 | 338 |
331 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 339 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
332 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 340 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
333 } | 341 } |
OLD | NEW |