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

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

Issue 9610006: Refactoring, moving and renaming the NetworkActionPredictor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing Dominic's comments. Created 8 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
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/autocomplete/network_action_predictor_factory.h"
12 #include "chrome/browser/autofill/personal_data_manager_factory.h" 11 #include "chrome/browser/autofill/personal_data_manager_factory.h"
13 #include "chrome/browser/background/background_contents_service_factory.h" 12 #include "chrome/browser/background/background_contents_service_factory.h"
14 #include "chrome/browser/content_settings/cookie_settings.h" 13 #include "chrome/browser/content_settings/cookie_settings.h"
15 #include "chrome/browser/download/download_service_factory.h" 14 #include "chrome/browser/download/download_service_factory.h"
16 #include "chrome/browser/intents/web_intents_registry_factory.h" 15 #include "chrome/browser/intents/web_intents_registry_factory.h"
17 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 16 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
18 #include "chrome/browser/plugin_prefs_factory.h" 17 #include "chrome/browser/plugin_prefs_factory.h"
18 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
19 #include "chrome/browser/predictors/predictor_database_factory.h"
19 #include "chrome/browser/prerender/prerender_manager_factory.h" 20 #include "chrome/browser/prerender/prerender_manager_factory.h"
20 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 21 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
21 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/profiles/profile_keyed_service.h" 23 #include "chrome/browser/profiles/profile_keyed_service.h"
23 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 24 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
24 #include "chrome/browser/protector/protector_service_factory.h" 25 #include "chrome/browser/protector/protector_service_factory.h"
25 #include "chrome/browser/search_engines/template_url_service_factory.h" 26 #include "chrome/browser/search_engines/template_url_service_factory.h"
26 #include "chrome/browser/sessions/session_service_factory.h" 27 #include "chrome/browser/sessions/session_service_factory.h"
27 #include "chrome/browser/sessions/tab_restore_service_factory.h" 28 #include "chrome/browser/sessions/tab_restore_service_factory.h"
28 #include "chrome/browser/signin/signin_manager_factory.h" 29 #include "chrome/browser/signin/signin_manager_factory.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 166
166 BackgroundContentsServiceFactory::GetInstance(); 167 BackgroundContentsServiceFactory::GetInstance();
167 #if !defined(OS_ANDROID) 168 #if !defined(OS_ANDROID)
168 CloudPrintProxyServiceFactory::GetInstance(); 169 CloudPrintProxyServiceFactory::GetInstance();
169 #endif 170 #endif
170 CookieSettings::Factory::GetInstance(); 171 CookieSettings::Factory::GetInstance();
171 DesktopNotificationServiceFactory::GetInstance(); 172 DesktopNotificationServiceFactory::GetInstance();
172 DownloadServiceFactory::GetInstance(); 173 DownloadServiceFactory::GetInstance();
173 FindBarStateFactory::GetInstance(); 174 FindBarStateFactory::GetInstance();
174 GlobalErrorServiceFactory::GetInstance(); 175 GlobalErrorServiceFactory::GetInstance();
175 NetworkActionPredictorFactory::GetInstance(); 176 predictors::PredictorDatabaseFactory::GetInstance();
177 predictors::AutocompleteActionPredictorFactory::GetInstance();
176 NTPResourceCacheFactory::GetInstance(); 178 NTPResourceCacheFactory::GetInstance();
177 PersonalDataManagerFactory::GetInstance(); 179 PersonalDataManagerFactory::GetInstance();
178 PinnedTabServiceFactory::GetInstance(); 180 PinnedTabServiceFactory::GetInstance();
179 PluginPrefsFactory::GetInstance(); 181 PluginPrefsFactory::GetInstance();
180 protector::ProtectorServiceFactory::GetInstance(); 182 protector::ProtectorServiceFactory::GetInstance();
181 prerender::PrerenderManagerFactory::GetInstance(); 183 prerender::PrerenderManagerFactory::GetInstance();
182 ProfileSyncServiceFactory::GetInstance(); 184 ProfileSyncServiceFactory::GetInstance();
183 SessionServiceFactory::GetInstance(); 185 SessionServiceFactory::GetInstance();
184 SigninManagerFactory::GetInstance(); 186 SigninManagerFactory::GetInstance();
185 #if defined(ENABLE_INPUT_SPEECH) 187 #if defined(ENABLE_INPUT_SPEECH)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 } 299 }
298 300
299 result.append("\n /* Toplevel profile */\n"); 301 result.append("\n /* Toplevel profile */\n");
300 result.append(" Profile [shape=box];\n"); 302 result.append(" Profile [shape=box];\n");
301 303
302 result.append("}\n"); 304 result.append("}\n");
303 return result; 305 return result;
304 } 306 }
305 307
306 #endif 308 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698