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

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

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "apps/app_restore_service_factory.h" 11 #include "apps/app_restore_service_factory.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "chrome/browser/extensions/csp_parser.h" 48 #include "chrome/browser/extensions/csp_parser.h"
49 #include "chrome/browser/extensions/extension_system_factory.h" 49 #include "chrome/browser/extensions/extension_system_factory.h"
50 #include "chrome/browser/extensions/install_tracker_factory.h" 50 #include "chrome/browser/extensions/install_tracker_factory.h"
51 #include "chrome/browser/extensions/manifest_url_parser.h" 51 #include "chrome/browser/extensions/manifest_url_parser.h"
52 #include "chrome/browser/extensions/web_accessible_resources_parser.h" 52 #include "chrome/browser/extensions/web_accessible_resources_parser.h"
53 #include "chrome/browser/favicon/favicon_service_factory.h" 53 #include "chrome/browser/favicon/favicon_service_factory.h"
54 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 54 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
55 #include "chrome/browser/google/google_url_tracker_factory.h" 55 #include "chrome/browser/google/google_url_tracker_factory.h"
56 #include "chrome/browser/history/history_service_factory.h" 56 #include "chrome/browser/history/history_service_factory.h"
57 #include "chrome/browser/history/shortcuts_backend_factory.h" 57 #include "chrome/browser/history/shortcuts_backend_factory.h"
58 #include "chrome/browser/instant/instant_service_factory.h"
58 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 59 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
59 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 60 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
60 #if !defined(OS_ANDROID) 61 #if !defined(OS_ANDROID)
61 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 62 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
62 #endif 63 #endif
63 #include "chrome/browser/password_manager/password_store_factory.h" 64 #include "chrome/browser/password_manager/password_store_factory.h"
64 #include "chrome/browser/plugins/plugin_prefs_factory.h" 65 #include "chrome/browser/plugins/plugin_prefs_factory.h"
65 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 66 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
66 #include "chrome/browser/predictors/predictor_database_factory.h" 67 #include "chrome/browser/predictors/predictor_database_factory.h"
67 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 68 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 FileBrowserPrivateAPIFactory::GetInstance(); 320 FileBrowserPrivateAPIFactory::GetInstance();
320 #endif 321 #endif
321 FindBarStateFactory::GetInstance(); 322 FindBarStateFactory::GetInstance();
322 GAIAInfoUpdateServiceFactory::GetInstance(); 323 GAIAInfoUpdateServiceFactory::GetInstance();
323 #if defined(USE_AURA) 324 #if defined(USE_AURA)
324 GesturePrefsObserverFactoryAura::GetInstance(); 325 GesturePrefsObserverFactoryAura::GetInstance();
325 #endif 326 #endif
326 GlobalErrorServiceFactory::GetInstance(); 327 GlobalErrorServiceFactory::GetInstance();
327 GoogleURLTrackerFactory::GetInstance(); 328 GoogleURLTrackerFactory::GetInstance();
328 HistoryServiceFactory::GetInstance(); 329 HistoryServiceFactory::GetInstance();
330 InstantServiceFactory::GetInstance();
329 #if !defined(OS_ANDROID) 331 #if !defined(OS_ANDROID)
330 notifier::ChromeNotifierServiceFactory::GetInstance(); 332 notifier::ChromeNotifierServiceFactory::GetInstance();
331 #endif 333 #endif
332 MediaGalleriesPreferencesFactory::GetInstance(); 334 MediaGalleriesPreferencesFactory::GetInstance();
333 #if defined(OS_CHROMEOS) 335 #if defined(OS_CHROMEOS)
334 chromeos::NetworkingPrivateEventRouterFactory::GetInstance(); 336 chromeos::NetworkingPrivateEventRouterFactory::GetInstance();
335 #endif 337 #endif
336 NTPResourceCacheFactory::GetInstance(); 338 NTPResourceCacheFactory::GetInstance();
337 PasswordStoreFactory::GetInstance(); 339 PasswordStoreFactory::GetInstance();
338 PersonalDataManagerFactory::GetInstance(); 340 PersonalDataManagerFactory::GetInstance();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 } 481 }
480 482
481 result.append("\n /* Toplevel profile */\n"); 483 result.append("\n /* Toplevel profile */\n");
482 result.append(" Profile [shape=box];\n"); 484 result.append(" Profile [shape=box];\n");
483 485
484 result.append("}\n"); 486 result.append("}\n");
485 return result; 487 return result;
486 } 488 }
487 489
488 #endif 490 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698