OLD | NEW |
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/third_party_host_authenticator.h" | 5 #include "remoting/protocol/third_party_host_authenticator.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "base/base64.h" | 9 #include "base/base64.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "remoting/base/constants.h" | 13 #include "remoting/base/constants.h" |
12 #include "remoting/base/rsa_key_pair.h" | 14 #include "remoting/base/rsa_key_pair.h" |
13 #include "remoting/protocol/token_validator.h" | 15 #include "remoting/protocol/token_validator.h" |
14 #include "remoting/protocol/v2_authenticator.h" | 16 #include "remoting/protocol/v2_authenticator.h" |
15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 17 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
16 | 18 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 88 |
87 // The other side already started the SPAKE authentication. | 89 // The other side already started the SPAKE authentication. |
88 token_state_ = ACCEPTED; | 90 token_state_ = ACCEPTED; |
89 underlying_ = V2Authenticator::CreateForHost( | 91 underlying_ = V2Authenticator::CreateForHost( |
90 local_cert_, key_pair_, shared_secret, WAITING_MESSAGE); | 92 local_cert_, key_pair_, shared_secret, WAITING_MESSAGE); |
91 underlying_->ProcessMessage(message, resume_callback); | 93 underlying_->ProcessMessage(message, resume_callback); |
92 } | 94 } |
93 | 95 |
94 } // namespace protocol | 96 } // namespace protocol |
95 } // namespace remoting | 97 } // namespace remoting |
OLD | NEW |