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

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

Issue 64953004: Split extensions::MenuManager instance out from ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicit nit Created 7 years, 1 month 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 | Annotate | Revision Log
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 "apps/app_keep_alive_service_factory.h" 7 #include "apps/app_keep_alive_service_factory.h"
8 #include "apps/app_load_service_factory.h" 8 #include "apps/app_load_service_factory.h"
9 #include "apps/app_restore_service_factory.h" 9 #include "apps/app_restore_service_factory.h"
10 #include "apps/shell_window_geometry_cache.h" 10 #include "apps/shell_window_geometry_cache.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry.h" 98 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry.h"
99 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 99 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
100 #include "chrome/browser/extensions/api/usb/usb_device_resource.h" 100 #include "chrome/browser/extensions/api/usb/usb_device_resource.h"
101 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" 101 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
102 #include "chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_privat e_api.h" 102 #include "chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_privat e_api.h"
103 #include "chrome/browser/extensions/extension_prefs_factory.h" 103 #include "chrome/browser/extensions/extension_prefs_factory.h"
104 #include "chrome/browser/extensions/extension_system_factory.h" 104 #include "chrome/browser/extensions/extension_system_factory.h"
105 #include "chrome/browser/extensions/extension_toolbar_model_factory.h" 105 #include "chrome/browser/extensions/extension_toolbar_model_factory.h"
106 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" 106 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
107 #include "chrome/browser/extensions/install_tracker_factory.h" 107 #include "chrome/browser/extensions/install_tracker_factory.h"
108 #include "chrome/browser/extensions/menu_manager_factory.h"
108 #include "chrome/browser/extensions/plugin_manager.h" 109 #include "chrome/browser/extensions/plugin_manager.h"
109 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" 110 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
110 #endif // defined(ENABLE_EXTENSIONS) 111 #endif // defined(ENABLE_EXTENSIONS)
111 112
112 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 113 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
113 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 114 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
114 #endif 115 #endif
115 116
116 #if defined(ENABLE_CONFIGURATION_POLICY) 117 #if defined(ENABLE_CONFIGURATION_POLICY)
117 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 118 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 extensions::InputImeAPI::GetFactoryInstance(); 267 extensions::InputImeAPI::GetFactoryInstance();
267 extensions::InputMethodAPI::GetFactoryInstance(); 268 extensions::InputMethodAPI::GetFactoryInstance();
268 #endif 269 #endif
269 extensions::LocationManager::GetFactoryInstance(); 270 extensions::LocationManager::GetFactoryInstance();
270 extensions::ManagementAPI::GetFactoryInstance(); 271 extensions::ManagementAPI::GetFactoryInstance();
271 extensions::MDnsAPI::GetFactoryInstance(); 272 extensions::MDnsAPI::GetFactoryInstance();
272 extensions::MediaGalleriesPrivateAPI::GetFactoryInstance(); 273 extensions::MediaGalleriesPrivateAPI::GetFactoryInstance();
273 #if defined(OS_CHROMEOS) 274 #if defined(OS_CHROMEOS)
274 extensions::MediaPlayerAPI::GetFactoryInstance(); 275 extensions::MediaPlayerAPI::GetFactoryInstance();
275 #endif 276 #endif
277 extensions::MenuManagerFactory::GetInstance();
276 extensions::OmniboxAPI::GetFactoryInstance(); 278 extensions::OmniboxAPI::GetFactoryInstance();
277 #if defined(ENABLE_PLUGINS) 279 #if defined(ENABLE_PLUGINS)
278 extensions::PluginManager::GetFactoryInstance(); 280 extensions::PluginManager::GetFactoryInstance();
279 #endif // defined(ENABLE_PLUGINS) 281 #endif // defined(ENABLE_PLUGINS)
280 extensions::PreferenceAPI::GetFactoryInstance(); 282 extensions::PreferenceAPI::GetFactoryInstance();
281 extensions::ProcessesAPI::GetFactoryInstance(); 283 extensions::ProcessesAPI::GetFactoryInstance();
282 extensions::PushMessagingAPI::GetFactoryInstance(); 284 extensions::PushMessagingAPI::GetFactoryInstance();
283 extensions::SessionsAPI::GetFactoryInstance(); 285 extensions::SessionsAPI::GetFactoryInstance();
284 extensions::SettingsOverridesAPI::GetFactoryInstance(); 286 extensions::SettingsOverridesAPI::GetFactoryInstance();
285 extensions::SignedInDevicesManager::GetFactoryInstance(); 287 extensions::SignedInDevicesManager::GetFactoryInstance();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 #if defined(ENABLE_EXTENSIONS) 371 #if defined(ENABLE_EXTENSIONS)
370 TokenCacheServiceFactory::GetInstance(); 372 TokenCacheServiceFactory::GetInstance();
371 #endif 373 #endif
372 TokenServiceFactory::GetInstance(); 374 TokenServiceFactory::GetInstance();
373 WebDataServiceFactory::GetInstance(); 375 WebDataServiceFactory::GetInstance();
374 } 376 }
375 377
376 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 378 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
377 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 379 EnsureBrowserContextKeyedServiceFactoriesBuilt();
378 } 380 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/menu_manager_unittest.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698