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

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: format 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 #include "chrome/browser/signin/cross_device_promo_factory.h" 120 #include "chrome/browser/signin/cross_device_promo_factory.h"
121 #endif 121 #endif
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 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h"
130 #endif 131 #endif
131 132
132 #if defined(ENABLE_SPELLCHECK) 133 #if defined(ENABLE_SPELLCHECK)
133 #include "chrome/browser/spellchecker/spellcheck_factory.h" 134 #include "chrome/browser/spellchecker/spellcheck_factory.h"
134 #endif 135 #endif
135 136
136 #if defined(ENABLE_SERVICE_DISCOVERY) 137 #if defined(ENABLE_SERVICE_DISCOVERY)
137 #include "chrome/browser/local_discovery/privet_notifications_factory.h" 138 #include "chrome/browser/local_discovery/privet_notifications_factory.h"
138 #endif 139 #endif
139 140
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 SpellcheckServiceFactory::GetInstance(); 319 SpellcheckServiceFactory::GetInstance();
319 #endif 320 #endif
320 suggestions::SuggestionsServiceFactory::GetInstance(); 321 suggestions::SuggestionsServiceFactory::GetInstance();
321 ThumbnailServiceFactory::GetInstance(); 322 ThumbnailServiceFactory::GetInstance();
322 TabRestoreServiceFactory::GetInstance(); 323 TabRestoreServiceFactory::GetInstance();
323 TemplateURLFetcherFactory::GetInstance(); 324 TemplateURLFetcherFactory::GetInstance();
324 TemplateURLServiceFactory::GetInstance(); 325 TemplateURLServiceFactory::GetInstance();
325 #if defined(ENABLE_THEMES) 326 #if defined(ENABLE_THEMES)
326 ThemeServiceFactory::GetInstance(); 327 ThemeServiceFactory::GetInstance();
327 #endif 328 #endif
329 #if defined(OS_WIN)
grt (UTC plus 2) 2015/09/04 18:35:48 the header is included for all but android, and th
robertshield 2015/09/04 20:27:18 Yes, it should be harmonized. I'm going to mark th
330 TriggeredProfileResetterFactory::GetInstance();
331 #endif
328 WebDataServiceFactory::GetInstance(); 332 WebDataServiceFactory::GetInstance();
329 } 333 }
330 334
331 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 335 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
332 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 336 EnsureBrowserContextKeyedServiceFactoriesBuilt();
333 } 337 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698