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

Unified Diff: chrome/browser/profile_resetter/profile_resetter.h

Issue 15654005: Reset homepage and startup pages (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed ResetStartPage, default startup page is different on CrOS Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profile_resetter/profile_resetter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_resetter/profile_resetter.h
diff --git a/chrome/browser/profile_resetter/profile_resetter.h b/chrome/browser/profile_resetter/profile_resetter.h
index 2afd817ffd18bb07d0d8334be32b8373ea5918a8..9adbaf34e048c620be978d5d0717eb5157086e00 100644
--- a/chrome/browser/profile_resetter/profile_resetter.h
+++ b/chrome/browser/profile_resetter/profile_resetter.h
@@ -23,10 +23,11 @@ class ProfileResetter : public base::NonThreadSafe {
CONTENT_SETTINGS = 1 << 2,
COOKIES_AND_SITE_DATA = 1 << 3,
EXTENSIONS = 1 << 4,
+ STARTUP_PAGE = 1 << 5,
// Update ALL if you add new values and check whether the type of
// ResettableFlags needs to be enlarged.
ALL = DEFAULT_SEARCH_ENGINE | HOMEPAGE | CONTENT_SETTINGS |
- COOKIES_AND_SITE_DATA | EXTENSIONS
+ COOKIES_AND_SITE_DATA | EXTENSIONS | STARTUP_PAGE
};
// How to handle extensions that shall be reset.
@@ -61,6 +62,7 @@ class ProfileResetter : public base::NonThreadSafe {
void ResetContentSettings();
void ResetCookiesAndSiteData();
void ResetExtensions(ExtensionHandling extension_handling);
+ void ResetStartPage();
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/profile_resetter/profile_resetter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698