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

Unified Diff: chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.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 4 years, 12 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
diff --git a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
index d20522353ddffced23afa210ae180998d51bf623..d49a647d34203382b1679097a8e5f490f0c9e31d 100644
--- a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
+++ b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc
@@ -5,8 +5,8 @@
#include "chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator.h"
#include <stdint.h>
-
#include <string>
+#include <utility>
#include "base/macros.h"
#include "base/run_loop.h"
@@ -90,7 +90,7 @@ TEST(AffiliatedCloudPolicyInvalidatorTest, CreateUseDestroy) {
EXPECT_CALL(*policy_client, SetupRegistration("token", "device-id"))
.WillOnce(WithArgs<1>(Invoke(policy_client,
&MockCloudPolicyClient::SetDMToken)));
- core.Connect(policy_client_owner.Pass());
+ core.Connect(std::move(policy_client_owner));
Mock::VerifyAndClearExpectations(&policy_client);
core.StartRefreshScheduler();
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/affiliated_invalidation_service_provider_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698