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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_client_impl.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/cryptauth/cryptauth_client_impl.cc
diff --git a/components/proximity_auth/cryptauth/cryptauth_client_impl.cc b/components/proximity_auth/cryptauth/cryptauth_client_impl.cc
index 1177ce7e2047c66b894652c662a46278b25513f4..9e924bbeb4566f71abe88ec1859034d805344a47 100644
--- a/components/proximity_auth/cryptauth/cryptauth_client_impl.cc
+++ b/components/proximity_auth/cryptauth/cryptauth_client_impl.cc
@@ -4,6 +4,8 @@
#include "components/proximity_auth/cryptauth/cryptauth_client_impl.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/command_line.h"
#include "components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h"
@@ -50,13 +52,12 @@ CryptAuthClientImpl::CryptAuthClientImpl(
scoped_ptr<CryptAuthAccessTokenFetcher> access_token_fetcher,
scoped_refptr<net::URLRequestContextGetter> url_request_context,
const cryptauth::DeviceClassifier& device_classifier)
- : api_call_flow_(api_call_flow.Pass()),
- access_token_fetcher_(access_token_fetcher.Pass()),
+ : api_call_flow_(std::move(api_call_flow)),
+ access_token_fetcher_(std::move(access_token_fetcher)),
url_request_context_(url_request_context),
device_classifier_(device_classifier),
has_call_started_(false),
- weak_ptr_factory_(this) {
-}
+ weak_ptr_factory_(this) {}
CryptAuthClientImpl::~CryptAuthClientImpl() {
}
« no previous file with comments | « components/proximity_auth/connection.cc ('k') | components/proximity_auth/cryptauth/cryptauth_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698