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

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

Issue 271673006: Eliminate all code related to the AutomaticProfileResetter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments from gab@. Created 6 years, 4 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 "chrome/browser/autocomplete/shortcuts_backend_factory.h" 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
9 #include "chrome/browser/background/background_contents_service_factory.h" 9 #include "chrome/browser/background/background_contents_service_factory.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 #endif 91 #endif
92 92
93 #if defined(USE_AURA) 93 #if defined(USE_AURA)
94 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" 94 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h"
95 #endif 95 #endif
96 96
97 #if defined(OS_ANDROID) 97 #if defined(OS_ANDROID)
98 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" 98 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h"
99 #else 99 #else
100 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 100 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
101 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
102 #endif 101 #endif
103 102
104 #if defined(ENABLE_SPELLCHECK) 103 #if defined(ENABLE_SPELLCHECK)
105 #include "chrome/browser/spellchecker/spellcheck_factory.h" 104 #include "chrome/browser/spellchecker/spellcheck_factory.h"
106 #endif 105 #endif
107 106
108 #if defined(ENABLE_SERVICE_DISCOVERY) 107 #if defined(ENABLE_SERVICE_DISCOVERY)
109 #include "chrome/browser/local_discovery/privet_notifications_factory.h" 108 #include "chrome/browser/local_discovery/privet_notifications_factory.h"
110 #endif 109 #endif
111 110
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 AppShortcutManagerFactory::GetInstance(); 142 AppShortcutManagerFactory::GetInstance();
144 EphemeralAppServiceFactory::GetInstance(); 143 EphemeralAppServiceFactory::GetInstance();
145 #endif 144 #endif
146 145
147 #if defined(ENABLE_APP_LIST) 146 #if defined(ENABLE_APP_LIST)
148 app_list::AppListSyncableServiceFactory::GetInstance(); 147 app_list::AppListSyncableServiceFactory::GetInstance();
149 #endif 148 #endif
150 149
151 AboutSigninInternalsFactory::GetInstance(); 150 AboutSigninInternalsFactory::GetInstance();
152 autofill::PersonalDataManagerFactory::GetInstance(); 151 autofill::PersonalDataManagerFactory::GetInstance();
153 #if !defined(OS_ANDROID)
154 AutomaticProfileResetterFactory::GetInstance();
155 #endif
156 #if defined(ENABLE_BACKGROUND) 152 #if defined(ENABLE_BACKGROUND)
157 BackgroundContentsServiceFactory::GetInstance(); 153 BackgroundContentsServiceFactory::GetInstance();
158 #endif 154 #endif
159 BookmarkModelFactory::GetInstance(); 155 BookmarkModelFactory::GetInstance();
160 #if !defined(OS_ANDROID) 156 #if !defined(OS_ANDROID)
161 BookmarkUndoServiceFactory::GetInstance(); 157 BookmarkUndoServiceFactory::GetInstance();
162 #endif 158 #endif
163 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 159 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
164 CaptivePortalServiceFactory::GetInstance(); 160 CaptivePortalServiceFactory::GetInstance();
165 #endif 161 #endif
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 TemplateURLServiceFactory::GetInstance(); 250 TemplateURLServiceFactory::GetInstance();
255 #if defined(ENABLE_THEMES) 251 #if defined(ENABLE_THEMES)
256 ThemeServiceFactory::GetInstance(); 252 ThemeServiceFactory::GetInstance();
257 #endif 253 #endif
258 WebDataServiceFactory::GetInstance(); 254 WebDataServiceFactory::GetInstance();
259 } 255 }
260 256
261 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 257 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
262 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 258 EnsureBrowserContextKeyedServiceFactoriesBuilt();
263 } 259 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698