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_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ |
6 #define REMOTING_PROTOCOL_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
14 #include "remoting/protocol/channel_authenticator.h" | 15 #include "remoting/protocol/channel_authenticator.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class CertVerifier; | 18 class CertVerifier; |
18 class DrainableIOBuffer; | 19 class DrainableIOBuffer; |
19 class GrowableIOBuffer; | 20 class GrowableIOBuffer; |
20 class SSLSocket; | 21 class SSLSocket; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; | 98 scoped_refptr<net::DrainableIOBuffer> auth_write_buf_; |
98 scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; | 99 scoped_refptr<net::GrowableIOBuffer> auth_read_buf_; |
99 | 100 |
100 DISALLOW_COPY_AND_ASSIGN(SslHmacChannelAuthenticator); | 101 DISALLOW_COPY_AND_ASSIGN(SslHmacChannelAuthenticator); |
101 }; | 102 }; |
102 | 103 |
103 } // namespace protocol | 104 } // namespace protocol |
104 } // namespace remoting | 105 } // namespace remoting |
105 | 106 |
106 #endif // REMOTING_PROTOCOL_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ | 107 #endif // REMOTING_PROTOCOL_SSL_HMAC_CHANNEL_AUTHENTICATOR_H_ |
OLD | NEW |