| 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/logging.h" | 8 #include "base/logging.h" |
| 8 #include "remoting/protocol/channel_authenticator.h" | 9 #include "remoting/protocol/channel_authenticator.h" |
| 9 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 10 | 11 |
| 11 namespace remoting { | 12 namespace remoting { |
| 12 namespace protocol { | 13 namespace protocol { |
| 13 | 14 |
| 14 RejectingAuthenticator::RejectingAuthenticator(RejectionReason rejection_reason) | 15 RejectingAuthenticator::RejectingAuthenticator(RejectionReason rejection_reason) |
| 15 : rejection_reason_(rejection_reason) { | 16 : rejection_reason_(rejection_reason) { |
| 16 } | 17 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 scoped_ptr<ChannelAuthenticator> | 52 scoped_ptr<ChannelAuthenticator> |
| 52 RejectingAuthenticator::CreateChannelAuthenticator() const { | 53 RejectingAuthenticator::CreateChannelAuthenticator() const { |
| 53 NOTREACHED(); | 54 NOTREACHED(); |
| 54 return nullptr; | 55 return nullptr; |
| 55 } | 56 } |
| 56 | 57 |
| 57 } // namespace protocol | 58 } // namespace protocol |
| 58 } // namespace remoting | 59 } // namespace remoting |
| OLD | NEW |