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

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: Added assert true to test 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/spellcheck/spellcheck_api.h" 49 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h"
50 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" 50 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h"
51 #include "chrome/browser/extensions/api/system_info/system_info_api.h" 51 #include "chrome/browser/extensions/api/system_info/system_info_api.h"
52 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h" 52 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h"
53 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 53 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
54 #include "chrome/browser/extensions/api/usb/usb_device_resource.h" 54 #include "chrome/browser/extensions/api/usb/usb_device_resource.h"
55 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" 55 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
56 #include "chrome/browser/extensions/extension_prefs_factory.h" 56 #include "chrome/browser/extensions/extension_prefs_factory.h"
57 #include "chrome/browser/extensions/extension_system_factory.h" 57 #include "chrome/browser/extensions/extension_system_factory.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 #if defined(OS_CHROMEOS) 228 #if defined(OS_CHROMEOS)
229 extensions::MediaPlayerAPI::GetFactoryInstance(); 229 extensions::MediaPlayerAPI::GetFactoryInstance();
230 #endif 230 #endif
231 extensions::OmniboxAPI::GetFactoryInstance(); 231 extensions::OmniboxAPI::GetFactoryInstance();
232 #if defined(ENABLE_PLUGINS) 232 #if defined(ENABLE_PLUGINS)
233 extensions::PluginManager::GetFactoryInstance(); 233 extensions::PluginManager::GetFactoryInstance();
234 #endif // defined(ENABLE_PLUGINS) 234 #endif // defined(ENABLE_PLUGINS)
235 extensions::PreferenceAPI::GetFactoryInstance(); 235 extensions::PreferenceAPI::GetFactoryInstance();
236 extensions::ProcessesAPI::GetFactoryInstance(); 236 extensions::ProcessesAPI::GetFactoryInstance();
237 extensions::PushMessagingAPI::GetFactoryInstance(); 237 extensions::PushMessagingAPI::GetFactoryInstance();
238 extensions::SessionRestoreAPI::GetFactoryInstance(); 238 extensions::SessionsAPI::GetFactoryInstance();
239 extensions::SpellcheckAPI::GetFactoryInstance(); 239 extensions::SpellcheckAPI::GetFactoryInstance();
240 extensions::StreamsPrivateAPI::GetFactoryInstance(); 240 extensions::StreamsPrivateAPI::GetFactoryInstance();
241 extensions::SystemInfoAPI::GetFactoryInstance(); 241 extensions::SystemInfoAPI::GetFactoryInstance();
242 extensions::SuggestedLinksRegistryFactory::GetInstance(); 242 extensions::SuggestedLinksRegistryFactory::GetInstance();
243 extensions::TabCaptureRegistryFactory::GetInstance(); 243 extensions::TabCaptureRegistryFactory::GetInstance();
244 extensions::TabsWindowsAPI::GetFactoryInstance(); 244 extensions::TabsWindowsAPI::GetFactoryInstance();
245 extensions::TtsAPI::GetFactoryInstance(); 245 extensions::TtsAPI::GetFactoryInstance();
246 extensions::WebNavigationAPI::GetFactoryInstance(); 246 extensions::WebNavigationAPI::GetFactoryInstance();
247 #endif // defined(ENABLE_EXTENSIONS) 247 #endif // defined(ENABLE_EXTENSIONS)
248 FaviconServiceFactory::GetInstance(); 248 FaviconServiceFactory::GetInstance();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 TokenServiceFactory::GetInstance(); 309 TokenServiceFactory::GetInstance();
310 #if !defined(OS_ANDROID) 310 #if !defined(OS_ANDROID)
311 UserStyleSheetWatcherFactory::GetInstance(); 311 UserStyleSheetWatcherFactory::GetInstance();
312 #endif 312 #endif
313 WebDataServiceFactory::GetInstance(); 313 WebDataServiceFactory::GetInstance();
314 } 314 }
315 315
316 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 316 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
317 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 317 EnsureBrowserContextKeyedServiceFactoriesBuilt();
318 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698