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

Unified Diff: chrome/common/pref_names.cc

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide rather than disable lock for hd users 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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 02fa6bd775c635c0a96ee40926f941a295730e05..0644c749a96e2111f362f92b2cf8a91d8047605c 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -41,6 +41,13 @@ const char kHomePage[] = "homepage";
// determine the state of the profile icon for icon format changes.
const char kProfileIconVersion[] = "profile.icon_version";
+// A boolean to determine whether lock is available to this profile.
noms (inactive) 2014/09/17 19:12:06 nit: whether this profile can be locked
Mike Lerman 2014/09/17 19:45:36 Done.
+const char kProfileIsLockable[] = "profile.is_lock_enabled";
+
+// Version to increment to determine if kProfileIsLockable was calculated
+// using the most recent algorithm. This is expected to change at least once.
+const char kProfileIsLockableVersion[] = "profile.is_lock_enabled_version";
+
// Used to determine if the last session exited cleanly. Set to false when
// first opened, and to true when closing. On startup if the value is false,
// it means the profile didn't exit cleanly.
« chrome/browser/ui/views/profiles/profile_chooser_view.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698