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

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) 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/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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/extensions/csp_parser.h" 50 #include "chrome/browser/extensions/csp_parser.h"
51 #include "chrome/browser/extensions/extension_system_factory.h" 51 #include "chrome/browser/extensions/extension_system_factory.h"
52 #include "chrome/browser/extensions/install_tracker_factory.h" 52 #include "chrome/browser/extensions/install_tracker_factory.h"
53 #include "chrome/browser/extensions/manifest_url_parser.h" 53 #include "chrome/browser/extensions/manifest_url_parser.h"
54 #include "chrome/browser/extensions/web_accessible_resources_parser.h" 54 #include "chrome/browser/extensions/web_accessible_resources_parser.h"
55 #include "chrome/browser/favicon/favicon_service_factory.h" 55 #include "chrome/browser/favicon/favicon_service_factory.h"
56 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 56 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
57 #include "chrome/browser/google/google_url_tracker_factory.h" 57 #include "chrome/browser/google/google_url_tracker_factory.h"
58 #include "chrome/browser/history/history_service_factory.h" 58 #include "chrome/browser/history/history_service_factory.h"
59 #include "chrome/browser/history/shortcuts_backend_factory.h" 59 #include "chrome/browser/history/shortcuts_backend_factory.h"
60 #include "chrome/browser/instant/instant_service_factory.h"
60 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 61 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
61 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 62 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
62 #if !defined(OS_ANDROID) 63 #if !defined(OS_ANDROID)
63 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 64 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
64 #endif 65 #endif
65 #include "chrome/browser/password_manager/password_store_factory.h" 66 #include "chrome/browser/password_manager/password_store_factory.h"
66 #include "chrome/browser/plugins/plugin_prefs_factory.h" 67 #include "chrome/browser/plugins/plugin_prefs_factory.h"
67 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 68 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
68 #include "chrome/browser/predictors/predictor_database_factory.h" 69 #include "chrome/browser/predictors/predictor_database_factory.h"
69 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 70 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 FileBrowserPrivateAPIFactory::GetInstance(); 325 FileBrowserPrivateAPIFactory::GetInstance();
325 #endif 326 #endif
326 FindBarStateFactory::GetInstance(); 327 FindBarStateFactory::GetInstance();
327 GAIAInfoUpdateServiceFactory::GetInstance(); 328 GAIAInfoUpdateServiceFactory::GetInstance();
328 #if defined(USE_AURA) 329 #if defined(USE_AURA)
329 GesturePrefsObserverFactoryAura::GetInstance(); 330 GesturePrefsObserverFactoryAura::GetInstance();
330 #endif 331 #endif
331 GlobalErrorServiceFactory::GetInstance(); 332 GlobalErrorServiceFactory::GetInstance();
332 GoogleURLTrackerFactory::GetInstance(); 333 GoogleURLTrackerFactory::GetInstance();
333 HistoryServiceFactory::GetInstance(); 334 HistoryServiceFactory::GetInstance();
335 InstantServiceFactory::GetInstance();
334 #if !defined(OS_ANDROID) 336 #if !defined(OS_ANDROID)
335 notifier::ChromeNotifierServiceFactory::GetInstance(); 337 notifier::ChromeNotifierServiceFactory::GetInstance();
336 #endif 338 #endif
337 MediaGalleriesPreferencesFactory::GetInstance(); 339 MediaGalleriesPreferencesFactory::GetInstance();
338 #if defined(OS_CHROMEOS) 340 #if defined(OS_CHROMEOS)
339 chromeos::NetworkingPrivateEventRouterFactory::GetInstance(); 341 chromeos::NetworkingPrivateEventRouterFactory::GetInstance();
340 #endif 342 #endif
341 NTPResourceCacheFactory::GetInstance(); 343 NTPResourceCacheFactory::GetInstance();
342 PasswordStoreFactory::GetInstance(); 344 PasswordStoreFactory::GetInstance();
343 PersonalDataManagerFactory::GetInstance(); 345 PersonalDataManagerFactory::GetInstance();
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 } 487 }
486 488
487 result.append("\n /* Toplevel profile */\n"); 489 result.append("\n /* Toplevel profile */\n");
488 result.append(" Profile [shape=box];\n"); 490 result.append(" Profile [shape=box];\n");
489 491
490 result.append("}\n"); 492 result.append("}\n");
491 return result; 493 return result;
492 } 494 }
493 495
494 #endif 496 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698