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 #ifndef REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ | 5 #ifndef REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ |
6 #define REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ | 6 #define REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "remoting/protocol/authenticator.h" | 15 #include "remoting/protocol/authenticator.h" |
16 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 16 |
| 17 namespace buzz { |
| 18 struct StaticQName; |
| 19 } // namespace buzz |
17 | 20 |
18 namespace remoting { | 21 namespace remoting { |
19 namespace protocol { | 22 namespace protocol { |
20 | 23 |
21 // This class provides the common base for a meta-authenticator that allows | 24 // This class provides the common base for a meta-authenticator that allows |
22 // clients and hosts that support multiple authentication methods to negotiate a | 25 // clients and hosts that support multiple authentication methods to negotiate a |
23 // method to use. | 26 // method to use. |
24 // | 27 // |
25 // The typical flow is: | 28 // The typical flow is: |
26 // * Client sends a message to host with its supported methods. | 29 // * Client sends a message to host with its supported methods. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 RejectionReason rejection_reason_ = INVALID_CREDENTIALS; | 120 RejectionReason rejection_reason_ = INVALID_CREDENTIALS; |
118 | 121 |
119 private: | 122 private: |
120 DISALLOW_COPY_AND_ASSIGN(NegotiatingAuthenticatorBase); | 123 DISALLOW_COPY_AND_ASSIGN(NegotiatingAuthenticatorBase); |
121 }; | 124 }; |
122 | 125 |
123 } // namespace protocol | 126 } // namespace protocol |
124 } // namespace remoting | 127 } // namespace remoting |
125 | 128 |
126 #endif // REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ | 129 #endif // REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ |
OLD | NEW |