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

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

Issue 117933003: Remove the speculative resource prefetching code. This was experimental code added 1.5 years ago an… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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 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/chrome_browser_main_extra_parts_profiles.h" 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
6 6
7 #include "apps/app_keep_alive_service_factory.h" 7 #include "apps/app_keep_alive_service_factory.h"
8 #include "apps/app_load_service_factory.h" 8 #include "apps/app_load_service_factory.h"
9 #include "apps/app_restore_service_factory.h" 9 #include "apps/app_restore_service_factory.h"
10 #include "apps/shell_window_geometry_cache.h" 10 #include "apps/shell_window_geometry_cache.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/history/history_service_factory.h" 23 #include "chrome/browser/history/history_service_factory.h"
24 #include "chrome/browser/history/shortcuts_backend_factory.h" 24 #include "chrome/browser/history/shortcuts_backend_factory.h"
25 #include "chrome/browser/invalidation/invalidation_service_factory.h" 25 #include "chrome/browser/invalidation/invalidation_service_factory.h"
26 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 26 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
27 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 27 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
28 #include "chrome/browser/password_manager/password_store_factory.h" 28 #include "chrome/browser/password_manager/password_store_factory.h"
29 #include "chrome/browser/plugins/plugin_prefs_factory.h" 29 #include "chrome/browser/plugins/plugin_prefs_factory.h"
30 #include "chrome/browser/policy/profile_policy_connector_factory.h" 30 #include "chrome/browser/policy/profile_policy_connector_factory.h"
31 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" 31 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
32 #include "chrome/browser/predictors/predictor_database_factory.h" 32 #include "chrome/browser/predictors/predictor_database_factory.h"
33 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
34 #include "chrome/browser/prerender/prerender_link_manager_factory.h" 33 #include "chrome/browser/prerender/prerender_link_manager_factory.h"
35 #include "chrome/browser/prerender/prerender_manager_factory.h" 34 #include "chrome/browser/prerender/prerender_manager_factory.h"
36 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 35 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
37 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" 36 #include "chrome/browser/profiles/gaia_info_update_service_factory.h"
38 #include "chrome/browser/search/hotword_service_factory.h" 37 #include "chrome/browser/search/hotword_service_factory.h"
39 #include "chrome/browser/search/instant_service_factory.h" 38 #include "chrome/browser/search/instant_service_factory.h"
40 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" 39 #include "chrome/browser/search_engines/template_url_fetcher_factory.h"
41 #include "chrome/browser/search_engines/template_url_service_factory.h" 40 #include "chrome/browser/search_engines/template_url_service_factory.h"
42 #include "chrome/browser/sessions/session_service_factory.h" 41 #include "chrome/browser/sessions/session_service_factory.h"
43 #include "chrome/browser/sessions/tab_restore_service_factory.h" 42 #include "chrome/browser/sessions/tab_restore_service_factory.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 #else 354 #else
356 policy::UserCloudPolicyManagerFactory::GetInstance(); 355 policy::UserCloudPolicyManagerFactory::GetInstance();
357 policy::UserPolicySigninServiceFactory::GetInstance(); 356 policy::UserPolicySigninServiceFactory::GetInstance();
358 #endif 357 #endif
359 policy::PolicyHeaderServiceFactory::GetInstance(); 358 policy::PolicyHeaderServiceFactory::GetInstance();
360 policy::SchemaRegistryServiceFactory::GetInstance(); 359 policy::SchemaRegistryServiceFactory::GetInstance();
361 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); 360 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
362 #endif 361 #endif
363 predictors::AutocompleteActionPredictorFactory::GetInstance(); 362 predictors::AutocompleteActionPredictorFactory::GetInstance();
364 predictors::PredictorDatabaseFactory::GetInstance(); 363 predictors::PredictorDatabaseFactory::GetInstance();
365 predictors::ResourcePrefetchPredictorFactory::GetInstance();
366 prerender::PrerenderManagerFactory::GetInstance(); 364 prerender::PrerenderManagerFactory::GetInstance();
367 prerender::PrerenderLinkManagerFactory::GetInstance(); 365 prerender::PrerenderLinkManagerFactory::GetInstance();
368 ProfileSyncServiceFactory::GetInstance(); 366 ProfileSyncServiceFactory::GetInstance();
369 ProtocolHandlerRegistryFactory::GetInstance(); 367 ProtocolHandlerRegistryFactory::GetInstance();
370 #if defined(ENABLE_SESSION_SERVICE) 368 #if defined(ENABLE_SESSION_SERVICE)
371 SessionServiceFactory::GetInstance(); 369 SessionServiceFactory::GetInstance();
372 #endif 370 #endif
373 ShortcutsBackendFactory::GetInstance(); 371 ShortcutsBackendFactory::GetInstance();
374 SigninManagerFactory::GetInstance(); 372 SigninManagerFactory::GetInstance();
375 #if defined(ENABLE_SPELLCHECK) 373 #if defined(ENABLE_SPELLCHECK)
376 SpellcheckServiceFactory::GetInstance(); 374 SpellcheckServiceFactory::GetInstance();
377 #endif 375 #endif
378 ThumbnailServiceFactory::GetInstance(); 376 ThumbnailServiceFactory::GetInstance();
379 TabRestoreServiceFactory::GetInstance(); 377 TabRestoreServiceFactory::GetInstance();
380 TemplateURLFetcherFactory::GetInstance(); 378 TemplateURLFetcherFactory::GetInstance();
381 TemplateURLServiceFactory::GetInstance(); 379 TemplateURLServiceFactory::GetInstance();
382 #if defined(ENABLE_THEMES) 380 #if defined(ENABLE_THEMES)
383 ThemeServiceFactory::GetInstance(); 381 ThemeServiceFactory::GetInstance();
384 #endif 382 #endif
385 #if defined(ENABLE_EXTENSIONS) 383 #if defined(ENABLE_EXTENSIONS)
386 TokenCacheServiceFactory::GetInstance(); 384 TokenCacheServiceFactory::GetInstance();
387 #endif 385 #endif
388 WebDataServiceFactory::GetInstance(); 386 WebDataServiceFactory::GetInstance();
389 } 387 }
390 388
391 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 389 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
392 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 390 EnsureBrowserContextKeyedServiceFactoriesBuilt();
393 } 391 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698