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

Unified Diff: components/proximity_auth/device_to_device_secure_context.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/proximity_auth/device_to_device_secure_context.cc
diff --git a/components/proximity_auth/device_to_device_secure_context.cc b/components/proximity_auth/device_to_device_secure_context.cc
index 701de95a641bf4c454680e5f0770b0dc35ef23a0..f8356f4c5e2a0a2ab7076b0b19cb562e7333cf55 100644
--- a/components/proximity_auth/device_to_device_secure_context.cc
+++ b/components/proximity_auth/device_to_device_secure_context.cc
@@ -4,6 +4,8 @@
#include "components/proximity_auth/device_to_device_secure_context.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/callback.h"
#include "components/proximity_auth/cryptauth/proto/cryptauth_api.pb.h"
@@ -29,7 +31,7 @@ DeviceToDeviceSecureContext::DeviceToDeviceSecureContext(
const std::string& symmetric_key,
const std::string& responder_auth_message,
ProtocolVersion protocol_version)
- : secure_message_delegate_(secure_message_delegate.Pass()),
+ : secure_message_delegate_(std::move(secure_message_delegate)),
symmetric_key_(symmetric_key),
responder_auth_message_(responder_auth_message),
protocol_version_(protocol_version),
« no previous file with comments | « components/proximity_auth/device_to_device_authenticator_unittest.cc ('k') | components/proximity_auth/fake_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698