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

Side by Side Diff: remoting/protocol/pairing_authenticator_base.cc

Issue 1547603004: Include <utility> in files that use std::move() in remoting/protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/pairing_authenticator_base.h" 5 #include "remoting/protocol/pairing_authenticator_base.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "remoting/base/constants.h" 10 #include "remoting/base/constants.h"
9 #include "remoting/protocol/channel_authenticator.h" 11 #include "remoting/protocol/channel_authenticator.h"
10 12
11 namespace remoting { 13 namespace remoting {
12 namespace protocol { 14 namespace protocol {
13 15
14 const buzz::StaticQName PairingAuthenticatorBase::kPairingInfoTag = 16 const buzz::StaticQName PairingAuthenticatorBase::kPairingInfoTag =
15 { kChromotingXmlNamespace, "pairing-info" }; 17 { kChromotingXmlNamespace, "pairing-info" };
16 const buzz::StaticQName PairingAuthenticatorBase::kClientIdAttribute = 18 const buzz::StaticQName PairingAuthenticatorBase::kClientIdAttribute =
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 v2_authenticator_ = std::move(authenticator); 158 v2_authenticator_ = std::move(authenticator);
157 if (message) { 159 if (message) {
158 ProcessMessage(message, resume_callback); 160 ProcessMessage(message, resume_callback);
159 } else { 161 } else {
160 resume_callback.Run(); 162 resume_callback.Run();
161 } 163 }
162 } 164 }
163 165
164 } // namespace protocol 166 } // namespace protocol
165 } // namespace remoting 167 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/negotiating_host_authenticator.cc ('k') | remoting/protocol/pairing_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698