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

Unified Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates 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/policy/configuration_policy_handler_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
index ded0f9f5967dccd99337bf98274cb1c5fa2e1420..dafa17dd96ccbfe1d04f00f704ad866272914f92 100644
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
@@ -324,7 +324,7 @@ void PinnedLauncherAppsPolicyHandler::ApplyPolicySettings(
for (base::ListValue::const_iterator entry(policy_list->begin());
entry != policy_list->end(); ++entry) {
std::string id;
- if ((*entry)->GetAsString(&id)) {
+ if (entry->GetAsString(&id)) {
auto app_dict = base::MakeUnique<base::DictionaryValue>();
app_dict->SetString(ash::launcher::kPinnedAppsPrefAppIDPath, id);
pinned_apps_list->Append(std::move(app_dict));

Powered by Google App Engine
This is Rietveld 408576698