| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/v2_authenticator.h" | 5 #include "remoting/protocol/v2_authenticator.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.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/ssl_hmac_channel_authenticator.h" | 11 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" |
| 12 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 12 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 13 | 13 |
| 14 using crypto::P224EncryptedKeyExchange; | 14 using crypto::P224EncryptedKeyExchange; |
| 15 | 15 |
| 16 #if defined(_WIN32) && defined(GetMessage) | 16 #if defined(_WIN32) && defined(GetMessage) |
| 17 #undef GetMessage | 17 #undef GetMessage |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 namespace remoting { | 20 namespace remoting { |
| 21 namespace protocol { | 21 namespace protocol { |
| 22 | 22 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 remote_cert_, auth_key_).Pass()); | 200 remote_cert_, auth_key_).Pass()); |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 | 203 |
| 204 bool V2Authenticator::is_host_side() const { | 204 bool V2Authenticator::is_host_side() const { |
| 205 return local_key_pair_.get() != NULL; | 205 return local_key_pair_.get() != NULL; |
| 206 } | 206 } |
| 207 | 207 |
| 208 } // namespace protocol | 208 } // namespace protocol |
| 209 } // namespace remoting | 209 } // namespace remoting |
| OLD | NEW |