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

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

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update new sync tests Created 8 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/profile_dependency_manager.h" 5 #include "chrome/browser/profiles/profile_dependency_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <iterator> 9 #include <iterator>
10 10
11 #include "chrome/browser/autofill/personal_data_manager_factory.h" 11 #include "chrome/browser/autofill/personal_data_manager_factory.h"
12 #include "chrome/browser/background/background_contents_service_factory.h" 12 #include "chrome/browser/background/background_contents_service_factory.h"
13 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
14 #include "chrome/browser/content_settings/cookie_settings.h" 14 #include "chrome/browser/content_settings/cookie_settings.h"
15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" 15 #include "chrome/browser/custom_handlers/protocol_handler_registry_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/api/bluetooth/bluetooth_api_factory.h" 17 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h"
18 #include "chrome/browser/extensions/api/commands/command_service_factory.h" 18 #include "chrome/browser/extensions/api/commands/command_service_factory.h"
19 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h" 19 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h"
20 #include "chrome/browser/extensions/api/idle/idle_manager_factory.h" 20 #include "chrome/browser/extensions/api/idle/idle_manager_factory.h"
21 #include "chrome/browser/extensions/api/processes/processes_api_factory.h" 21 #include "chrome/browser/extensions/api/processes/processes_api_factory.h"
22 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h" 22 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory .h"
23 #include "chrome/browser/extensions/app_restore_service_factory.h" 23 #include "chrome/browser/extensions/app_restore_service_factory.h"
24 #include "chrome/browser/extensions/extension_system_factory.h" 24 #include "chrome/browser/extensions/extension_system_factory.h"
25 #include "chrome/browser/extensions/platform_app_service_factory.h"
25 #include "chrome/browser/favicon/favicon_service_factory.h" 26 #include "chrome/browser/favicon/favicon_service_factory.h"
26 #include "chrome/browser/google/google_url_tracker_factory.h" 27 #include "chrome/browser/google/google_url_tracker_factory.h"
27 #include "chrome/browser/history/history_service_factory.h" 28 #include "chrome/browser/history/history_service_factory.h"
28 #include "chrome/browser/history/shortcuts_backend_factory.h" 29 #include "chrome/browser/history/shortcuts_backend_factory.h"
29 #include "chrome/browser/intents/web_intents_registry_factory.h" 30 #include "chrome/browser/intents/web_intents_registry_factory.h"
30 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h" 31 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h"
31 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 32 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
32 #include "chrome/browser/password_manager/password_store_factory.h" 33 #include "chrome/browser/password_manager/password_store_factory.h"
33 #include "chrome/browser/plugins/plugin_prefs_factory.h" 34 #include "chrome/browser/plugins/plugin_prefs_factory.h"
34 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 35 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 DesktopNotificationServiceFactory::GetInstance(); 222 DesktopNotificationServiceFactory::GetInstance();
222 #endif 223 #endif
223 DownloadServiceFactory::GetInstance(); 224 DownloadServiceFactory::GetInstance();
224 #if defined(ENABLE_EXTENSIONS) 225 #if defined(ENABLE_EXTENSIONS)
225 extensions::AppRestoreServiceFactory::GetInstance(); 226 extensions::AppRestoreServiceFactory::GetInstance();
226 extensions::BluetoothAPIFactory::GetInstance(); 227 extensions::BluetoothAPIFactory::GetInstance();
227 extensions::CommandServiceFactory::GetInstance(); 228 extensions::CommandServiceFactory::GetInstance();
228 extensions::IdleManagerFactory::GetInstance(); 229 extensions::IdleManagerFactory::GetInstance();
229 extensions::SuggestedLinksRegistryFactory::GetInstance(); 230 extensions::SuggestedLinksRegistryFactory::GetInstance();
230 extensions::ExtensionSystemFactory::GetInstance(); 231 extensions::ExtensionSystemFactory::GetInstance();
232 extensions::PlatformAppServiceFactory::GetInstance();
231 extensions::ProcessesAPIFactory::GetInstance(); 233 extensions::ProcessesAPIFactory::GetInstance();
232 extensions::TabCaptureRegistryFactory::GetInstance(); 234 extensions::TabCaptureRegistryFactory::GetInstance();
233 #endif 235 #endif
234 FaviconServiceFactory::GetInstance(); 236 FaviconServiceFactory::GetInstance();
235 FindBarStateFactory::GetInstance(); 237 FindBarStateFactory::GetInstance();
236 #if defined(USE_AURA) 238 #if defined(USE_AURA)
237 GesturePrefsObserverFactoryAura::GetInstance(); 239 GesturePrefsObserverFactoryAura::GetInstance();
238 #endif 240 #endif
239 GlobalErrorServiceFactory::GetInstance(); 241 GlobalErrorServiceFactory::GetInstance();
240 GoogleURLTrackerFactory::GetInstance(); 242 GoogleURLTrackerFactory::GetInstance();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 397 }
396 398
397 result.append("\n /* Toplevel profile */\n"); 399 result.append("\n /* Toplevel profile */\n");
398 result.append(" Profile [shape=box];\n"); 400 result.append(" Profile [shape=box];\n");
399 401
400 result.append("}\n"); 402 result.append("}\n");
401 return result; 403 return result;
402 } 404 }
403 405
404 #endif 406 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698