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

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: Resolving conflicts. Created 8 years, 5 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/bookmarks/bookmark_model_factory.h" 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
14 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 14 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
15 #include "chrome/browser/content_settings/cookie_settings.h" 15 #include "chrome/browser/content_settings/cookie_settings.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/commands/command_service_factory.h" 17 #include "chrome/browser/extensions/api/commands/command_service_factory.h"
18 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h" 18 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto ry.h"
19 #include "chrome/browser/extensions/extension_system_factory.h" 19 #include "chrome/browser/extensions/extension_system_factory.h"
20 #include "chrome/browser/google/google_url_tracker_factory.h" 20 #include "chrome/browser/google/google_url_tracker_factory.h"
21 #include "chrome/browser/history/history_service_factory.h" 21 #include "chrome/browser/history/history_service_factory.h"
22 #include "chrome/browser/intents/web_intents_registry_factory.h" 22 #include "chrome/browser/intents/web_intents_registry_factory.h"
23 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 23 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
24 #include "chrome/browser/password_manager/password_store_factory.h" 24 #include "chrome/browser/password_manager/password_store_factory.h"
25 #include "chrome/browser/plugin_prefs_factory.h" 25 #include "chrome/browser/plugin_prefs_factory.h"
26 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 26 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
27 #include "chrome/browser/predictors/predictor_database_factory.h" 27 #include "chrome/browser/predictors/predictor_database_factory.h"
28 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
28 #include "chrome/browser/prerender/prerender_manager_factory.h" 29 #include "chrome/browser/prerender/prerender_manager_factory.h"
29 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 30 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
30 #include "chrome/browser/profiles/profile.h" 31 #include "chrome/browser/profiles/profile.h"
31 #include "chrome/browser/profiles/profile_keyed_service.h" 32 #include "chrome/browser/profiles/profile_keyed_service.h"
32 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 33 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
33 #include "chrome/browser/protector/protector_service_factory.h" 34 #include "chrome/browser/protector/protector_service_factory.h"
34 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" 35 #include "chrome/browser/search_engines/template_url_fetcher_factory.h"
35 #include "chrome/browser/search_engines/template_url_service_factory.h" 36 #include "chrome/browser/search_engines/template_url_service_factory.h"
36 #include "chrome/browser/sessions/session_service_factory.h" 37 #include "chrome/browser/sessions/session_service_factory.h"
37 #include "chrome/browser/sessions/tab_restore_service_factory.h" 38 #include "chrome/browser/sessions/tab_restore_service_factory.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 #endif 218 #endif
218 NTPResourceCacheFactory::GetInstance(); 219 NTPResourceCacheFactory::GetInstance();
219 PasswordStoreFactory::GetInstance(); 220 PasswordStoreFactory::GetInstance();
220 PersonalDataManagerFactory::GetInstance(); 221 PersonalDataManagerFactory::GetInstance();
221 #if !defined(OS_ANDROID) 222 #if !defined(OS_ANDROID)
222 PinnedTabServiceFactory::GetInstance(); 223 PinnedTabServiceFactory::GetInstance();
223 #endif 224 #endif
224 PluginPrefsFactory::GetInstance(); 225 PluginPrefsFactory::GetInstance();
225 predictors::AutocompleteActionPredictorFactory::GetInstance(); 226 predictors::AutocompleteActionPredictorFactory::GetInstance();
226 predictors::PredictorDatabaseFactory::GetInstance(); 227 predictors::PredictorDatabaseFactory::GetInstance();
228 predictors::ResourcePrefetchPredictorFactory::GetInstance();
227 prerender::PrerenderManagerFactory::GetInstance(); 229 prerender::PrerenderManagerFactory::GetInstance();
228 ProfileSyncServiceFactory::GetInstance(); 230 ProfileSyncServiceFactory::GetInstance();
229 #if defined(ENABLE_PROTECTOR_SERVICE) 231 #if defined(ENABLE_PROTECTOR_SERVICE)
230 protector::ProtectorServiceFactory::GetInstance(); 232 protector::ProtectorServiceFactory::GetInstance();
231 #endif 233 #endif
232 #if defined(ENABLE_SESSION_SERVICE) 234 #if defined(ENABLE_SESSION_SERVICE)
233 SessionServiceFactory::GetInstance(); 235 SessionServiceFactory::GetInstance();
234 #endif 236 #endif
235 SigninManagerFactory::GetInstance(); 237 SigninManagerFactory::GetInstance();
236 #if defined(ENABLE_INPUT_SPEECH) 238 #if defined(ENABLE_INPUT_SPEECH)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 } 357 }
356 358
357 result.append("\n /* Toplevel profile */\n"); 359 result.append("\n /* Toplevel profile */\n");
358 result.append(" Profile [shape=box];\n"); 360 result.append(" Profile [shape=box];\n");
359 361
360 result.append("}\n"); 362 result.append("}\n");
361 return result; 363 return result;
362 } 364 }
363 365
364 #endif 366 #endif
OLDNEW
« no previous file with comments | « chrome/browser/predictors/resource_prefetch_predictor_unittest.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698