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

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

Issue 545003004: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 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_host_authenticator.h" 5 #include "remoting/protocol/pairing_host_authenticator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
10 #include "remoting/base/rsa_key_pair.h" 10 #include "remoting/base/rsa_key_pair.h"
11 #include "remoting/protocol/channel_authenticator.h" 11 #include "remoting/protocol/channel_authenticator.h"
12 #include "remoting/protocol/v2_authenticator.h" 12 #include "remoting/protocol/v2_authenticator.h"
13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 13 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 namespace protocol { 16 namespace protocol {
17 17
18 PairingHostAuthenticator::PairingHostAuthenticator( 18 PairingHostAuthenticator::PairingHostAuthenticator(
19 scoped_refptr<PairingRegistry> pairing_registry, 19 scoped_refptr<PairingRegistry> pairing_registry,
20 const std::string& local_cert, 20 const std::string& local_cert,
21 scoped_refptr<RsaKeyPair> key_pair, 21 scoped_refptr<RsaKeyPair> key_pair,
22 const std::string& pin) 22 const std::string& pin)
23 : pairing_registry_(pairing_registry), 23 : pairing_registry_(pairing_registry),
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 v2_authenticator_ = V2Authenticator::CreateForHost( 111 v2_authenticator_ = V2Authenticator::CreateForHost(
112 local_cert_, key_pair_, pin_, MESSAGE_READY); 112 local_cert_, key_pair_, pin_, MESSAGE_READY);
113 // The client's optimistic SPAKE message is using a Paired Secret to 113 // The client's optimistic SPAKE message is using a Paired Secret to
114 // which the host doesn't have access, so don't bother processing it. 114 // which the host doesn't have access, so don't bother processing it.
115 resume_callback.Run(); 115 resume_callback.Run();
116 } 116 }
117 } 117 }
118 118
119 } // namespace protocol 119 } // namespace protocol
120 } // namespace remoting 120 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/pairing_client_authenticator.cc ('k') | remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698