| 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/me2me_host_authenticator_factory.h" | 5 #include "remoting/protocol/me2me_host_authenticator_factory.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "base/base64.h" | 9 #include "base/base64.h" |
| 8 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 9 #include "remoting/base/rsa_key_pair.h" | 11 #include "remoting/base/rsa_key_pair.h" |
| 10 #include "remoting/protocol/channel_authenticator.h" | 12 #include "remoting/protocol/channel_authenticator.h" |
| 11 #include "remoting/protocol/negotiating_host_authenticator.h" | 13 #include "remoting/protocol/negotiating_host_authenticator.h" |
| 12 #include "remoting/protocol/token_validator.h" | 14 #include "remoting/protocol/token_validator.h" |
| 13 #include "remoting/signaling/jid_util.h" | 15 #include "remoting/signaling/jid_util.h" |
| 14 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 16 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 15 | 17 |
| 16 namespace remoting { | 18 namespace remoting { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 return NegotiatingHostAuthenticator::CreateWithSharedSecret( | 154 return NegotiatingHostAuthenticator::CreateWithSharedSecret( |
| 153 local_cert_, key_pair_, shared_secret_hash_.value, | 155 local_cert_, key_pair_, shared_secret_hash_.value, |
| 154 shared_secret_hash_.hash_function, pairing_registry_); | 156 shared_secret_hash_.hash_function, pairing_registry_); |
| 155 } | 157 } |
| 156 | 158 |
| 157 return make_scoped_ptr(new RejectingAuthenticator()); | 159 return make_scoped_ptr(new RejectingAuthenticator()); |
| 158 } | 160 } |
| 159 | 161 |
| 160 } // namespace protocol | 162 } // namespace protocol |
| 161 } // namespace remoting | 163 } // namespace remoting |
| OLD | NEW |