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

Unified Diff: components/policy/core/common/remote_commands/testing_remote_commands_server.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/remote_commands/testing_remote_commands_server.cc
diff --git a/components/policy/core/common/remote_commands/testing_remote_commands_server.cc b/components/policy/core/common/remote_commands/testing_remote_commands_server.cc
index 85629ed5d13a43582d4033515679e25353f241b6..53db3e2c3d1f18c2e992d4e2cb9866bfcd28acf1 100644
--- a/components/policy/core/common/remote_commands/testing_remote_commands_server.cc
+++ b/components/policy/core/common/remote_commands/testing_remote_commands_server.cc
@@ -4,6 +4,8 @@
#include "components/policy/core/common/remote_commands/testing_remote_commands_server.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/location.h"
@@ -135,7 +137,7 @@ TestingRemoteCommandsServer::FetchCommands(
void TestingRemoteCommandsServer::SetClock(scoped_ptr<base::TickClock> clock) {
DCHECK(thread_checker_.CalledOnValidThread());
- clock_ = clock.Pass();
+ clock_ = std::move(clock);
}
size_t TestingRemoteCommandsServer::NumberOfCommandsPendingResult() const {

Powered by Google App Engine
This is Rietveld 408576698