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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.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/ownership/owner_settings_service_chromeos.cc
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
index 3d9977d635a1d283056997f6f3f4cbb47d2b6775..29b91ffb7be7255fee5d61f82100c73c5a2433b0 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
@@ -62,7 +62,7 @@ bool IsOwnerInTests(const std::string& user_id) {
const base::Value* value = CrosSettings::Get()->GetPref(kDeviceOwner);
if (!value || value->GetType() != base::Value::Type::STRING)
return false;
- return static_cast<const base::StringValue*>(value)->GetString() == user_id;
+ return static_cast<const base::Value*>(value)->GetString() == user_id;
}
void LoadPrivateKeyByPublicKey(

Powered by Google App Engine
This is Rietveld 408576698