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

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

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated Created 7 years, 4 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 | 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_load_service_factory.h" 7 #include "apps/app_load_service_factory.h"
8 #include "apps/app_restore_service_factory.h" 8 #include "apps/app_restore_service_factory.h"
9 #include "apps/shell_window_geometry_cache.h" 9 #include "apps/shell_window_geometry_cache.h"
10 #include "chrome/browser/apps/shortcut_manager_factory.h" 10 #include "chrome/browser/apps/shortcut_manager_factory.h"
(...skipping 26 matching lines...) Expand all
37 #include "chrome/browser/extensions/api/input/input.h" 37 #include "chrome/browser/extensions/api/input/input.h"
38 #include "chrome/browser/extensions/api/location/location_manager.h" 38 #include "chrome/browser/extensions/api/location/location_manager.h"
39 #include "chrome/browser/extensions/api/management/management_api.h" 39 #include "chrome/browser/extensions/api/management/management_api.h"
40 #include "chrome/browser/extensions/api/media_galleries_private/media_galleries_ private_api.h" 40 #include "chrome/browser/extensions/api/media_galleries_private/media_galleries_ private_api.h"
41 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h" 41 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
42 #include "chrome/browser/extensions/api/preference/chrome_direct_setting_api.h" 42 #include "chrome/browser/extensions/api/preference/chrome_direct_setting_api.h"
43 #include "chrome/browser/extensions/api/preference/preference_api.h" 43 #include "chrome/browser/extensions/api/preference/preference_api.h"
44 #include "chrome/browser/extensions/api/processes/processes_api.h" 44 #include "chrome/browser/extensions/api/processes/processes_api.h"
45 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h" 45 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h"
46 #include "chrome/browser/extensions/api/serial/serial_connection.h" 46 #include "chrome/browser/extensions/api/serial/serial_connection.h"
47 #include "chrome/browser/extensions/api/session_restore/session_restore_api.h" 47 #include "chrome/browser/extensions/api/sessions/sessions_api.h"
48 #include "chrome/browser/extensions/api/socket/socket.h" 48 #include "chrome/browser/extensions/api/socket/socket.h"
49 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" 49 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h"
50 #include "chrome/browser/extensions/api/system_info/system_info_api.h" 50 #include "chrome/browser/extensions/api/system_info/system_info_api.h"
51 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h" 51 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h"
52 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 52 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
53 #include "chrome/browser/extensions/api/usb/usb_device_resource.h" 53 #include "chrome/browser/extensions/api/usb/usb_device_resource.h"
54 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" 54 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
55 #include "chrome/browser/extensions/extension_prefs_factory.h" 55 #include "chrome/browser/extensions/extension_prefs_factory.h"
56 #include "chrome/browser/extensions/extension_system_factory.h" 56 #include "chrome/browser/extensions/extension_system_factory.h"
57 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" 57 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 #if defined(OS_CHROMEOS) 233 #if defined(OS_CHROMEOS)
234 extensions::MediaPlayerAPI::GetFactoryInstance(); 234 extensions::MediaPlayerAPI::GetFactoryInstance();
235 #endif 235 #endif
236 extensions::OmniboxAPI::GetFactoryInstance(); 236 extensions::OmniboxAPI::GetFactoryInstance();
237 #if defined(ENABLE_PLUGINS) 237 #if defined(ENABLE_PLUGINS)
238 extensions::PluginManager::GetFactoryInstance(); 238 extensions::PluginManager::GetFactoryInstance();
239 #endif // defined(ENABLE_PLUGINS) 239 #endif // defined(ENABLE_PLUGINS)
240 extensions::PreferenceAPI::GetFactoryInstance(); 240 extensions::PreferenceAPI::GetFactoryInstance();
241 extensions::ProcessesAPI::GetFactoryInstance(); 241 extensions::ProcessesAPI::GetFactoryInstance();
242 extensions::PushMessagingAPI::GetFactoryInstance(); 242 extensions::PushMessagingAPI::GetFactoryInstance();
243 extensions::SessionRestoreAPI::GetFactoryInstance(); 243 extensions::SessionsAPI::GetFactoryInstance();
244 #if defined(ENABLE_SPELLCHECK) 244 #if defined(ENABLE_SPELLCHECK)
245 extensions::SpellcheckAPI::GetFactoryInstance(); 245 extensions::SpellcheckAPI::GetFactoryInstance();
246 #endif 246 #endif
247 extensions::StreamsPrivateAPI::GetFactoryInstance(); 247 extensions::StreamsPrivateAPI::GetFactoryInstance();
248 extensions::SystemInfoAPI::GetFactoryInstance(); 248 extensions::SystemInfoAPI::GetFactoryInstance();
249 extensions::SuggestedLinksRegistryFactory::GetInstance(); 249 extensions::SuggestedLinksRegistryFactory::GetInstance();
250 extensions::TabCaptureRegistryFactory::GetInstance(); 250 extensions::TabCaptureRegistryFactory::GetInstance();
251 extensions::TabsWindowsAPI::GetFactoryInstance(); 251 extensions::TabsWindowsAPI::GetFactoryInstance();
252 extensions::TtsAPI::GetFactoryInstance(); 252 extensions::TtsAPI::GetFactoryInstance();
253 extensions::WebNavigationAPI::GetFactoryInstance(); 253 extensions::WebNavigationAPI::GetFactoryInstance();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 TokenServiceFactory::GetInstance(); 320 TokenServiceFactory::GetInstance();
321 #if !defined(OS_ANDROID) 321 #if !defined(OS_ANDROID)
322 UserStyleSheetWatcherFactory::GetInstance(); 322 UserStyleSheetWatcherFactory::GetInstance();
323 #endif 323 #endif
324 WebDataServiceFactory::GetInstance(); 324 WebDataServiceFactory::GetInstance();
325 } 325 }
326 326
327 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 327 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
328 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 328 EnsureBrowserContextKeyedServiceFactoriesBuilt();
329 } 329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698