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

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

Issue 24533002: Added the AutomaticProfileResetter service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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_load_service_factory.h" 7 #include "apps/app_load_service_factory.h"
8 #include "apps/app_restore_service_factory.h" 8 #include "apps/app_restore_service_factory.h"
9 #include "apps/shell_window_geometry_cache.h" 9 #include "apps/shell_window_geometry_cache.h"
10 #include "chrome/browser/apps/shortcut_manager_factory.h" 10 #include "chrome/browser/apps/shortcut_manager_factory.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 #endif 128 #endif
129 #endif 129 #endif
130 130
131 #if defined(USE_AURA) 131 #if defined(USE_AURA)
132 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" 132 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h"
133 #endif 133 #endif
134 134
135 #if !defined(OS_ANDROID) 135 #if !defined(OS_ANDROID)
136 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 136 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
137 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 137 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
138 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
138 #endif 139 #endif
139 140
140 #if defined(ENABLE_SPELLCHECK) 141 #if defined(ENABLE_SPELLCHECK)
141 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" 142 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h"
142 #include "chrome/browser/spellchecker/spellcheck_factory.h" 143 #include "chrome/browser/spellchecker/spellcheck_factory.h"
143 #endif 144 #endif
144 145
145 #if defined(ENABLE_MDNS) 146 #if defined(ENABLE_MDNS)
146 #include "chrome/browser/local_discovery/privet_notifications_factory.h" 147 #include "chrome/browser/local_discovery/privet_notifications_factory.h"
147 #endif 148 #endif
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 policy::UserCloudPolicyManagerFactory::GetInstance(); 305 policy::UserCloudPolicyManagerFactory::GetInstance();
305 policy::UserPolicySigninServiceFactory::GetInstance(); 306 policy::UserPolicySigninServiceFactory::GetInstance();
306 #endif 307 #endif
307 policy::UserCloudPolicyInvalidatorFactory::GetInstance(); 308 policy::UserCloudPolicyInvalidatorFactory::GetInstance();
308 #endif 309 #endif
309 predictors::AutocompleteActionPredictorFactory::GetInstance(); 310 predictors::AutocompleteActionPredictorFactory::GetInstance();
310 predictors::PredictorDatabaseFactory::GetInstance(); 311 predictors::PredictorDatabaseFactory::GetInstance();
311 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 312 predictors::ResourcePrefetchPredictorFactory::GetInstance();
312 prerender::PrerenderManagerFactory::GetInstance(); 313 prerender::PrerenderManagerFactory::GetInstance();
313 prerender::PrerenderLinkManagerFactory::GetInstance(); 314 prerender::PrerenderLinkManagerFactory::GetInstance();
315 #if !defined(OS_ANDROID)
316 profile_resetter::AutomaticProfileResetterFactory::GetInstance();
317 #endif
314 ProfileSyncServiceFactory::GetInstance(); 318 ProfileSyncServiceFactory::GetInstance();
315 ProtocolHandlerRegistryFactory::GetInstance(); 319 ProtocolHandlerRegistryFactory::GetInstance();
316 #if defined(ENABLE_SESSION_SERVICE) 320 #if defined(ENABLE_SESSION_SERVICE)
317 SessionServiceFactory::GetInstance(); 321 SessionServiceFactory::GetInstance();
318 #endif 322 #endif
319 ShortcutsBackendFactory::GetInstance(); 323 ShortcutsBackendFactory::GetInstance();
320 SigninManagerFactory::GetInstance(); 324 SigninManagerFactory::GetInstance();
321 #if defined(ENABLE_SPELLCHECK) 325 #if defined(ENABLE_SPELLCHECK)
322 SpellcheckServiceFactory::GetInstance(); 326 SpellcheckServiceFactory::GetInstance();
323 #endif 327 #endif
324 ThumbnailServiceFactory::GetInstance(); 328 ThumbnailServiceFactory::GetInstance();
325 TabRestoreServiceFactory::GetInstance(); 329 TabRestoreServiceFactory::GetInstance();
326 TemplateURLFetcherFactory::GetInstance(); 330 TemplateURLFetcherFactory::GetInstance();
327 TemplateURLServiceFactory::GetInstance(); 331 TemplateURLServiceFactory::GetInstance();
328 #if defined(ENABLE_THEMES) 332 #if defined(ENABLE_THEMES)
329 ThemeServiceFactory::GetInstance(); 333 ThemeServiceFactory::GetInstance();
330 #endif 334 #endif
331 TokenCacheServiceFactory::GetInstance(); 335 TokenCacheServiceFactory::GetInstance();
332 TokenServiceFactory::GetInstance(); 336 TokenServiceFactory::GetInstance();
333 #if !defined(OS_ANDROID) 337 #if !defined(OS_ANDROID)
334 UserStyleSheetWatcherFactory::GetInstance(); 338 UserStyleSheetWatcherFactory::GetInstance();
335 #endif 339 #endif
336 WebDataServiceFactory::GetInstance(); 340 WebDataServiceFactory::GetInstance();
337 } 341 }
338 342
339 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 343 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
340 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 344 EnsureBrowserContextKeyedServiceFactoriesBuilt();
341 } 345 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698