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

Unified Diff: chrome/common/pref_names.cc

Issue 533183002: Revert "Eliminate all code related to the AutomaticProfileResetter." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/tools/profile_reset/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 8a104aa3c791b2ead042c94f0fc0438bc085096f..52560a9e46a3bff54f09c7d8b414a57781b77044 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1176,6 +1176,11 @@ const char kSupervisedUserCreationAllowed[] =
// List pref containing the users supervised by this user.
const char kSupervisedUsers[] = "profile.managed_users";
+// String that indicates that the profile reset prompt has already been shown to
+// the user (profile).
+const char kProfileResetPromptMementoInProfilePrefs[] =
+ "profile.reset_prompt_memento";
+
// List pref containing the extension ids which are not allowed to send
// notifications to the message center.
const char kMessageCenterDisabledExtensionIds[] =
@@ -1272,6 +1277,14 @@ const char kProfileCreatedByVersion[] = "profile.created_by_version";
// them.
const char kProfileInfoCache[] = "profile.info_cache";
+// Dictionary that maps profile keys to strings that indicate that the profile
+// reset prompt has already been shown to the corresponding user (profile).
+// This is semantically similar to kProfileResetPromptMementoInProfilePrefs, see
+// chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h for an
+// explanation of why this redundancy is needed.
+const char kProfileResetPromptMementosInLocalState[] =
+ "profile.reset_prompt_mementos";
+
// Prefs for SSLConfigServicePref.
const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled";
const char kCertRevocationCheckingRequiredLocalAnchors[] =
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/tools/profile_reset/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698