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

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 (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
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "chrome/browser/extensions/csp_parser.h" 47 #include "chrome/browser/extensions/csp_parser.h"
48 #include "chrome/browser/extensions/extension_system_factory.h" 48 #include "chrome/browser/extensions/extension_system_factory.h"
49 #include "chrome/browser/extensions/install_tracker_factory.h" 49 #include "chrome/browser/extensions/install_tracker_factory.h"
50 #include "chrome/browser/extensions/manifest_url_parser.h" 50 #include "chrome/browser/extensions/manifest_url_parser.h"
51 #include "chrome/browser/extensions/web_accessible_resources_parser.h" 51 #include "chrome/browser/extensions/web_accessible_resources_parser.h"
52 #include "chrome/browser/favicon/favicon_service_factory.h" 52 #include "chrome/browser/favicon/favicon_service_factory.h"
53 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 53 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
54 #include "chrome/browser/google/google_url_tracker_factory.h" 54 #include "chrome/browser/google/google_url_tracker_factory.h"
55 #include "chrome/browser/history/history_service_factory.h" 55 #include "chrome/browser/history/history_service_factory.h"
56 #include "chrome/browser/history/shortcuts_backend_factory.h" 56 #include "chrome/browser/history/shortcuts_backend_factory.h"
57 #include "chrome/browser/instant/instant_service_factory.h"
57 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 58 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
58 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 59 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
59 #if !defined(OS_ANDROID) 60 #if !defined(OS_ANDROID)
60 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 61 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
61 #endif 62 #endif
62 #include "chrome/browser/password_manager/password_store_factory.h" 63 #include "chrome/browser/password_manager/password_store_factory.h"
63 #include "chrome/browser/plugins/plugin_prefs_factory.h" 64 #include "chrome/browser/plugins/plugin_prefs_factory.h"
64 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 65 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
65 #include "chrome/browser/predictors/predictor_database_factory.h" 66 #include "chrome/browser/predictors/predictor_database_factory.h"
66 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 67 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 FileBrowserPrivateAPIFactory::GetInstance(); 318 FileBrowserPrivateAPIFactory::GetInstance();
318 #endif 319 #endif
319 FindBarStateFactory::GetInstance(); 320 FindBarStateFactory::GetInstance();
320 GAIAInfoUpdateServiceFactory::GetInstance(); 321 GAIAInfoUpdateServiceFactory::GetInstance();
321 #if defined(USE_AURA) 322 #if defined(USE_AURA)
322 GesturePrefsObserverFactoryAura::GetInstance(); 323 GesturePrefsObserverFactoryAura::GetInstance();
323 #endif 324 #endif
324 GlobalErrorServiceFactory::GetInstance(); 325 GlobalErrorServiceFactory::GetInstance();
325 GoogleURLTrackerFactory::GetInstance(); 326 GoogleURLTrackerFactory::GetInstance();
326 HistoryServiceFactory::GetInstance(); 327 HistoryServiceFactory::GetInstance();
328 InstantServiceFactory::GetInstance();
327 #if !defined(OS_ANDROID) 329 #if !defined(OS_ANDROID)
328 notifier::ChromeNotifierServiceFactory::GetInstance(); 330 notifier::ChromeNotifierServiceFactory::GetInstance();
329 #endif 331 #endif
330 MediaGalleriesPreferencesFactory::GetInstance(); 332 MediaGalleriesPreferencesFactory::GetInstance();
331 #if defined(OS_CHROMEOS) 333 #if defined(OS_CHROMEOS)
332 chromeos::NetworkingPrivateEventRouterFactory::GetInstance(); 334 chromeos::NetworkingPrivateEventRouterFactory::GetInstance();
333 #endif 335 #endif
334 NTPResourceCacheFactory::GetInstance(); 336 NTPResourceCacheFactory::GetInstance();
335 PasswordStoreFactory::GetInstance(); 337 PasswordStoreFactory::GetInstance();
336 PersonalDataManagerFactory::GetInstance(); 338 PersonalDataManagerFactory::GetInstance();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 479 }
478 480
479 result.append("\n /* Toplevel profile */\n"); 481 result.append("\n /* Toplevel profile */\n");
480 result.append(" Profile [shape=box];\n"); 482 result.append(" Profile [shape=box];\n");
481 483
482 result.append("}\n"); 484 result.append("}\n");
483 return result; 485 return result;
484 } 486 }
485 487
486 #endif 488 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698