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

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

Issue 1557693002: Convert Pass()→std::move() in //chrome/browser/chromeos/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « chrome/browser/chromeos/policy/user_network_configuration_updater.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/user_policy_test_helper.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_test_helper.cc b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
index ecc45eb27cec9effbaa581fafbdc55321a9e9515..b439621e80a6af2ce1a5001db772176464eaa9df 100644
--- a/chrome/browser/chromeos/policy/user_policy_test_helper.cc
+++ b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/policy/user_policy_test_helper.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
@@ -45,8 +47,9 @@ std::string BuildPolicy(const base::DictionaryValue& mandatory,
managed_users_list->AppendString("*");
base::DictionaryValue root_dict;
- root_dict.SetWithoutPathExpansion(policyType, policy_type_dict.Pass());
- root_dict.SetWithoutPathExpansion("managed_users", managed_users_list.Pass());
+ root_dict.SetWithoutPathExpansion(policyType, std::move(policy_type_dict));
+ root_dict.SetWithoutPathExpansion("managed_users",
+ std::move(managed_users_list));
root_dict.SetStringWithoutPathExpansion("policy_user", account_id);
root_dict.SetIntegerWithoutPathExpansion("current_key_index", 0);
« no previous file with comments | « chrome/browser/chromeos/policy/user_network_configuration_updater.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698