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

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

Issue 1294923003: Add a triggered profile reset mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Grt feedback Created 5 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
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/in_memory_url_index_factory.h" 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
9 #include "chrome/browser/autofill/personal_data_manager_factory.h" 9 #include "chrome/browser/autofill/personal_data_manager_factory.h"
10 #include "chrome/browser/background/background_contents_service_factory.h" 10 #include "chrome/browser/background/background_contents_service_factory.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 #if defined(OS_CHROMEOS) 123 #if defined(OS_CHROMEOS)
124 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" 124 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h"
125 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" 125 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h"
126 #endif 126 #endif
127 127
128 #if !defined(OS_ANDROID) 128 #if !defined(OS_ANDROID)
129 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" 129 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
130 #endif 130 #endif
131 131
132 #if defined(OS_WIN)
133 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h"
134 #endif
135
132 #if defined(ENABLE_SPELLCHECK) 136 #if defined(ENABLE_SPELLCHECK)
133 #include "chrome/browser/spellchecker/spellcheck_factory.h" 137 #include "chrome/browser/spellchecker/spellcheck_factory.h"
134 #endif 138 #endif
135 139
136 #if defined(ENABLE_SERVICE_DISCOVERY) 140 #if defined(ENABLE_SERVICE_DISCOVERY)
137 #include "chrome/browser/local_discovery/privet_notifications_factory.h" 141 #include "chrome/browser/local_discovery/privet_notifications_factory.h"
138 #endif 142 #endif
139 143
140 namespace chrome { 144 namespace chrome {
141 145
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 SpellcheckServiceFactory::GetInstance(); 322 SpellcheckServiceFactory::GetInstance();
319 #endif 323 #endif
320 suggestions::SuggestionsServiceFactory::GetInstance(); 324 suggestions::SuggestionsServiceFactory::GetInstance();
321 ThumbnailServiceFactory::GetInstance(); 325 ThumbnailServiceFactory::GetInstance();
322 TabRestoreServiceFactory::GetInstance(); 326 TabRestoreServiceFactory::GetInstance();
323 TemplateURLFetcherFactory::GetInstance(); 327 TemplateURLFetcherFactory::GetInstance();
324 TemplateURLServiceFactory::GetInstance(); 328 TemplateURLServiceFactory::GetInstance();
325 #if defined(ENABLE_THEMES) 329 #if defined(ENABLE_THEMES)
326 ThemeServiceFactory::GetInstance(); 330 ThemeServiceFactory::GetInstance();
327 #endif 331 #endif
332 #if defined(OS_WIN)
333 TriggeredProfileResetterFactory::GetInstance();
334 #endif
328 WebDataServiceFactory::GetInstance(); 335 WebDataServiceFactory::GetInstance();
329 } 336 }
330 337
331 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 338 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
332 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 339 EnsureBrowserContextKeyedServiceFactoriesBuilt();
333 } 340 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698