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

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: Created 6 years, 7 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #if defined(USE_AURA) 90 #if defined(USE_AURA)
91 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" 91 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h"
92 #endif 92 #endif
93 93
94 #if defined(OS_ANDROID) 94 #if defined(OS_ANDROID)
95 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" 95 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h"
96 #else 96 #else
97 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 97 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
98 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h" 98 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac tory.h"
99 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf o_service_factory.h" 99 #include "chrome/browser/notifications/sync_notifier/synced_notification_app_inf o_service_factory.h"
100 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
101 #endif 100 #endif
102 101
103 #if defined(ENABLE_SPELLCHECK) 102 #if defined(ENABLE_SPELLCHECK)
104 #include "chrome/browser/spellchecker/spellcheck_factory.h" 103 #include "chrome/browser/spellchecker/spellcheck_factory.h"
105 #endif 104 #endif
106 105
107 #if defined(ENABLE_SERVICE_DISCOVERY) 106 #if defined(ENABLE_SERVICE_DISCOVERY)
108 #include "chrome/browser/local_discovery/privet_notifications_factory.h" 107 #include "chrome/browser/local_discovery/privet_notifications_factory.h"
109 #endif 108 #endif
110 109
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 AppShortcutManagerFactory::GetInstance(); 141 AppShortcutManagerFactory::GetInstance();
143 EphemeralAppServiceFactory::GetInstance(); 142 EphemeralAppServiceFactory::GetInstance();
144 #endif 143 #endif
145 144
146 #if defined(ENABLE_APP_LIST) 145 #if defined(ENABLE_APP_LIST)
147 app_list::AppListSyncableServiceFactory::GetInstance(); 146 app_list::AppListSyncableServiceFactory::GetInstance();
148 #endif 147 #endif
149 148
150 AboutSigninInternalsFactory::GetInstance(); 149 AboutSigninInternalsFactory::GetInstance();
151 autofill::PersonalDataManagerFactory::GetInstance(); 150 autofill::PersonalDataManagerFactory::GetInstance();
152 #if !defined(OS_ANDROID)
153 AutomaticProfileResetterFactory::GetInstance();
154 #endif
155 #if defined(ENABLE_BACKGROUND) 151 #if defined(ENABLE_BACKGROUND)
156 BackgroundContentsServiceFactory::GetInstance(); 152 BackgroundContentsServiceFactory::GetInstance();
157 #endif 153 #endif
158 BookmarkModelFactory::GetInstance(); 154 BookmarkModelFactory::GetInstance();
159 #if !defined(OS_ANDROID) 155 #if !defined(OS_ANDROID)
160 BookmarkUndoServiceFactory::GetInstance(); 156 BookmarkUndoServiceFactory::GetInstance();
161 #endif 157 #endif
162 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 158 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
163 CaptivePortalServiceFactory::GetInstance(); 159 CaptivePortalServiceFactory::GetInstance();
164 #endif 160 #endif
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 TemplateURLServiceFactory::GetInstance(); 245 TemplateURLServiceFactory::GetInstance();
250 #if defined(ENABLE_THEMES) 246 #if defined(ENABLE_THEMES)
251 ThemeServiceFactory::GetInstance(); 247 ThemeServiceFactory::GetInstance();
252 #endif 248 #endif
253 WebDataServiceFactory::GetInstance(); 249 WebDataServiceFactory::GetInstance();
254 } 250 }
255 251
256 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 252 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
257 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 253 EnsureBrowserContextKeyedServiceFactoriesBuilt();
258 } 254 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698