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

Unified Diff: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
Index: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
diff --git a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
index 9f181bf0e36084b7dd900eee03eb168bdb947578..f857a998462f1bbd3915569d5ae8f834651036e5 100644
--- a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
+++ b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
@@ -6,6 +6,7 @@
#include <map>
#include <string>
+#include <utility>
#include "base/callback.h"
#include "base/files/scoped_temp_dir.h"
@@ -153,7 +154,7 @@ class ComponentCloudPolicyServiceTest : public testing::Test {
void Connect() {
client_ = new MockCloudPolicyClient();
service_.reset(new ComponentCloudPolicyService(
- &delegate_, &registry_, &core_, client_, owned_cache_.Pass(),
+ &delegate_, &registry_, &core_, client_, std::move(owned_cache_),
request_context_, loop_.task_runner(), loop_.task_runner()));
client_->SetDMToken(ComponentPolicyBuilder::kFakeToken);

Powered by Google App Engine
This is Rietveld 408576698