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_V2_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_V2_AUTHENTICATOR_H_ |
6 #define REMOTING_PROTOCOL_V2_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_V2_AUTHENTICATOR_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "crypto/p224_spake.h" | 16 #include "crypto/p224_spake.h" |
16 #include "remoting/protocol/authenticator.h" | 17 #include "remoting/protocol/authenticator.h" |
17 | 18 |
18 namespace remoting { | 19 namespace remoting { |
19 | 20 |
20 class RsaKeyPair; | 21 class RsaKeyPair; |
21 | 22 |
22 namespace protocol { | 23 namespace protocol { |
23 | 24 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 std::queue<std::string> pending_messages_; | 75 std::queue<std::string> pending_messages_; |
75 std::string auth_key_; | 76 std::string auth_key_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(V2Authenticator); | 78 DISALLOW_COPY_AND_ASSIGN(V2Authenticator); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace protocol | 81 } // namespace protocol |
81 } // namespace remoting | 82 } // namespace remoting |
82 | 83 |
83 #endif // REMOTING_PROTOCOL_V2_AUTHENTICATOR_H_ | 84 #endif // REMOTING_PROTOCOL_V2_AUTHENTICATOR_H_ |
OLD | NEW |