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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/chromeos/login/quick_unlock/quick_unlock_utils.cc
diff --git a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
index 269bbf789cda17cdc8a300a5dc5ffd37d075bf0d..a70a11a1404a61631a332d39bdf964e6784fcd75 100644
--- a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
+++ b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc
@@ -68,8 +68,8 @@ bool IsPinEnabled(PrefService* pref_service) {
// Check if policy allows PIN.
const base::ListValue* quick_unlock_whitelist =
pref_service->GetList(prefs::kQuickUnlockModeWhitelist);
- base::StringValue all_value(kQuickUnlockWhitelistOptionAll);
- base::StringValue pin_value(kQuickUnlockWhitelistOptionPin);
+ base::Value all_value(kQuickUnlockWhitelistOptionAll);
+ base::Value pin_value(kQuickUnlockWhitelistOptionPin);
if (quick_unlock_whitelist->Find(all_value) ==
quick_unlock_whitelist->end() &&
quick_unlock_whitelist->Find(pin_value) ==

Powered by Google App Engine
This is Rietveld 408576698