| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/rejecting_authenticator.h" | 5 #include "remoting/protocol/rejecting_authenticator.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "remoting/protocol/channel_authenticator.h" | 9 #include "remoting/protocol/channel_authenticator.h" |
| 10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 10 #include "third_party/xmllite/xmlelement.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 namespace protocol { | 13 namespace protocol { |
| 14 | 14 |
| 15 RejectingAuthenticator::RejectingAuthenticator(RejectionReason rejection_reason) | 15 RejectingAuthenticator::RejectingAuthenticator(RejectionReason rejection_reason) |
| 16 : rejection_reason_(rejection_reason) { | 16 : rejection_reason_(rejection_reason) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 RejectingAuthenticator::~RejectingAuthenticator() = default; | 19 RejectingAuthenticator::~RejectingAuthenticator() = default; |
| 20 | 20 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 std::unique_ptr<ChannelAuthenticator> | 52 std::unique_ptr<ChannelAuthenticator> |
| 53 RejectingAuthenticator::CreateChannelAuthenticator() const { | 53 RejectingAuthenticator::CreateChannelAuthenticator() const { |
| 54 NOTREACHED(); | 54 NOTREACHED(); |
| 55 return nullptr; | 55 return nullptr; |
| 56 } | 56 } |
| 57 | 57 |
| 58 } // namespace protocol | 58 } // namespace protocol |
| 59 } // namespace remoting | 59 } // namespace remoting |
| OLD | NEW |