Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 657643003: Cleanup: Remove unneeded extensions #includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/shortcuts_backend_factory.h" 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
9 #include "chrome/browser/background/background_contents_service_factory.h" 9 #include "chrome/browser/background/background_contents_service_factory.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
11 #include "chrome/browser/chrome_browser_main.h" 11 #include "chrome/browser/chrome_browser_main.h"
12 #include "chrome/browser/content_settings/cookie_settings.h" 12 #include "chrome/browser/content_settings/cookie_settings.h"
13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 13 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" 14 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
15 #include "chrome/browser/domain_reliability/service_factory.h" 15 #include "chrome/browser/domain_reliability/service_factory.h"
16 #include "chrome/browser/download/download_service_factory.h" 16 #include "chrome/browser/download/download_service_factory.h"
17 #include "chrome/browser/extensions/extension_management.h"
18 #include "chrome/browser/favicon/favicon_service_factory.h" 17 #include "chrome/browser/favicon/favicon_service_factory.h"
19 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h" 18 #include "chrome/browser/geolocation/geolocation_permission_context_factory.h"
20 #include "chrome/browser/google/google_url_tracker_factory.h" 19 #include "chrome/browser/google/google_url_tracker_factory.h"
21 #include "chrome/browser/history/history_service_factory.h" 20 #include "chrome/browser/history/history_service_factory.h"
22 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 21 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
23 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 22 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
24 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 23 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
25 #include "chrome/browser/password_manager/password_store_factory.h" 24 #include "chrome/browser/password_manager/password_store_factory.h"
26 #include "chrome/browser/plugins/plugin_prefs_factory.h" 25 #include "chrome/browser/plugins/plugin_prefs_factory.h"
27 #include "chrome/browser/policy/profile_policy_connector_factory.h" 26 #include "chrome/browser/policy/profile_policy_connector_factory.h"
(...skipping 22 matching lines...) Expand all
50 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 49 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
51 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 50 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
52 #include "chrome/browser/undo/bookmark_undo_service_factory.h" 51 #include "chrome/browser/undo/bookmark_undo_service_factory.h"
53 #include "chrome/browser/webdata/web_data_service_factory.h" 52 #include "chrome/browser/webdata/web_data_service_factory.h"
54 53
55 #if defined(ENABLE_EXTENSIONS) 54 #if defined(ENABLE_EXTENSIONS)
56 #include "apps/browser_context_keyed_service_factories.h" 55 #include "apps/browser_context_keyed_service_factories.h"
57 #include "chrome/browser/apps/ephemeral_app_service_factory.h" 56 #include "chrome/browser/apps/ephemeral_app_service_factory.h"
58 #include "chrome/browser/apps/shortcut_manager_factory.h" 57 #include "chrome/browser/apps/shortcut_manager_factory.h"
59 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" 58 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h"
59 #include "chrome/browser/extensions/extension_management.h"
60 #include "chrome/browser/search/hotword_service_factory.h" 60 #include "chrome/browser/search/hotword_service_factory.h"
61 #include "chrome/browser/signin/easy_unlock_service_factory.h" 61 #include "chrome/browser/signin/easy_unlock_service_factory.h"
62 #include "extensions/browser/browser_context_keyed_service_factories.h" 62 #include "extensions/browser/browser_context_keyed_service_factories.h"
63 #endif 63 #endif
64 64
65 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 65 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
66 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 66 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
67 #endif 67 #endif
68 68
69 #if defined(ENABLE_CONFIGURATION_POLICY) 69 #if defined(ENABLE_CONFIGURATION_POLICY)
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 TemplateURLServiceFactory::GetInstance(); 262 TemplateURLServiceFactory::GetInstance();
263 #if defined(ENABLE_THEMES) 263 #if defined(ENABLE_THEMES)
264 ThemeServiceFactory::GetInstance(); 264 ThemeServiceFactory::GetInstance();
265 #endif 265 #endif
266 WebDataServiceFactory::GetInstance(); 266 WebDataServiceFactory::GetInstance();
267 } 267 }
268 268
269 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 269 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
270 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 270 EnsureBrowserContextKeyedServiceFactoriesBuilt();
271 } 271 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/external_component_loader.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698