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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index c51506d2be07c9c6e7292953e5f747400c5a21a6..da6e607ce4d55c2c94ca45a4b06c29006b917d4b 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -129,6 +129,10 @@
#include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h"
#endif
+#if defined(OS_WIN)
+#include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h"
+#endif
+
#if defined(ENABLE_SPELLCHECK)
#include "chrome/browser/spellchecker/spellcheck_factory.h"
#endif
@@ -325,6 +329,9 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
#if defined(ENABLE_THEMES)
ThemeServiceFactory::GetInstance();
#endif
+#if defined(OS_WIN)
+ TriggeredProfileResetterFactory::GetInstance();
+#endif
WebDataServiceFactory::GetInstance();
}

Powered by Google App Engine
This is Rietveld 408576698