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

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

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moving to WeakPtrs and RVHD. Created 8 years, 6 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
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/captive_portal/captive_portal_service_factory.h" 13 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
14 #include "chrome/browser/content_settings/cookie_settings.h" 14 #include "chrome/browser/content_settings/cookie_settings.h"
15 #include "chrome/browser/download/download_service_factory.h" 15 #include "chrome/browser/download/download_service_factory.h"
16 #include "chrome/browser/extensions/api/commands/command_service_factory.h" 16 #include "chrome/browser/extensions/api/commands/command_service_factory.h"
17 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h" 17 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h"
18 #include "chrome/browser/extensions/extension_system_factory.h" 18 #include "chrome/browser/extensions/extension_system_factory.h"
19 #include "chrome/browser/google/google_url_tracker_factory.h" 19 #include "chrome/browser/google/google_url_tracker_factory.h"
20 #include "chrome/browser/intents/web_intents_registry_factory.h" 20 #include "chrome/browser/intents/web_intents_registry_factory.h"
21 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 21 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
22 #include "chrome/browser/password_manager/password_store_factory.h" 22 #include "chrome/browser/password_manager/password_store_factory.h"
23 #include "chrome/browser/plugin_prefs_factory.h" 23 #include "chrome/browser/plugin_prefs_factory.h"
24 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 24 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
25 #include "chrome/browser/predictors/predictor_database_factory.h" 25 #include "chrome/browser/predictors/predictor_database_factory.h"
26 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
26 #include "chrome/browser/prerender/prerender_manager_factory.h" 27 #include "chrome/browser/prerender/prerender_manager_factory.h"
27 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 28 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
28 #include "chrome/browser/profiles/profile.h" 29 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/profiles/profile_keyed_service.h" 30 #include "chrome/browser/profiles/profile_keyed_service.h"
30 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 31 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
31 #include "chrome/browser/protector/protector_service_factory.h" 32 #include "chrome/browser/protector/protector_service_factory.h"
32 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" 33 #include "chrome/browser/search_engines/template_url_fetcher_factory.h"
33 #include "chrome/browser/search_engines/template_url_service_factory.h" 34 #include "chrome/browser/search_engines/template_url_service_factory.h"
34 #include "chrome/browser/sessions/session_service_factory.h" 35 #include "chrome/browser/sessions/session_service_factory.h"
35 #include "chrome/browser/sessions/tab_restore_service_factory.h" 36 #include "chrome/browser/sessions/tab_restore_service_factory.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 GoogleURLTrackerFactory::GetInstance(); 204 GoogleURLTrackerFactory::GetInstance();
204 NTPResourceCacheFactory::GetInstance(); 205 NTPResourceCacheFactory::GetInstance();
205 PasswordStoreFactory::GetInstance(); 206 PasswordStoreFactory::GetInstance();
206 PersonalDataManagerFactory::GetInstance(); 207 PersonalDataManagerFactory::GetInstance();
207 #if !defined(OS_ANDROID) 208 #if !defined(OS_ANDROID)
208 PinnedTabServiceFactory::GetInstance(); 209 PinnedTabServiceFactory::GetInstance();
209 #endif 210 #endif
210 PluginPrefsFactory::GetInstance(); 211 PluginPrefsFactory::GetInstance();
211 predictors::AutocompleteActionPredictorFactory::GetInstance(); 212 predictors::AutocompleteActionPredictorFactory::GetInstance();
212 predictors::PredictorDatabaseFactory::GetInstance(); 213 predictors::PredictorDatabaseFactory::GetInstance();
214 predictors::ResourcePrefetchPredictorFactory::GetInstance();
213 prerender::PrerenderManagerFactory::GetInstance(); 215 prerender::PrerenderManagerFactory::GetInstance();
214 ProfileSyncServiceFactory::GetInstance(); 216 ProfileSyncServiceFactory::GetInstance();
215 #if defined(ENABLE_PROTECTOR_SERVICE) 217 #if defined(ENABLE_PROTECTOR_SERVICE)
216 protector::ProtectorServiceFactory::GetInstance(); 218 protector::ProtectorServiceFactory::GetInstance();
217 #endif 219 #endif
218 #if defined(ENABLE_SESSION_SERVICE) 220 #if defined(ENABLE_SESSION_SERVICE)
219 SessionServiceFactory::GetInstance(); 221 SessionServiceFactory::GetInstance();
220 #endif 222 #endif
221 SigninManagerFactory::GetInstance(); 223 SigninManagerFactory::GetInstance();
222 #if defined(ENABLE_INPUT_SPEECH) 224 #if defined(ENABLE_INPUT_SPEECH)
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 342 }
341 343
342 result.append("\n /* Toplevel profile */\n"); 344 result.append("\n /* Toplevel profile */\n");
343 result.append(" Profile [shape=box];\n"); 345 result.append(" Profile [shape=box];\n");
344 346
345 result.append("}\n"); 347 result.append("}\n");
346 return result; 348 return result;
347 } 349 }
348 350
349 #endif 351 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698