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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 years, 8 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 4259daad5692f2de697e520dee69a1f530aa8fab..39a9d04d4dc6fe44fae7c3621e761e514dd079cc 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
@@ -474,7 +474,7 @@
entry != accounts_list->end();
++entry) {
const base::DictionaryValue* entry_dict = NULL;
- if (entry->GetAsDictionary(&entry_dict)) {
+ if ((*entry)->GetAsDictionary(&entry_dict)) {
em::DeviceLocalAccountInfoProto* account =
device_local_accounts->add_account();
std::string account_id;
@@ -572,7 +572,7 @@
i != users->end();
++i) {
std::string email;
- if (i->GetAsString(&email))
+ if ((*i)->GetAsString(&email))
whitelist_proto->add_user_whitelist(email);
}
}
@@ -604,7 +604,7 @@
i != flags->end();
++i) {
std::string flag;
- if (i->GetAsString(&flag))
+ if ((*i)->GetAsString(&flag))
flags_proto->add_flags(flag);
}
}

Powered by Google App Engine
This is Rietveld 408576698