OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HOST_GNUBBY_SOCKET_H_ | 5 #ifndef REMOTING_HOST_GNUBBY_SOCKET_H_ |
6 #define REMOTING_HOST_GNUBBY_SOCKET_H_ | 6 #define REMOTING_HOST_GNUBBY_SOCKET_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
15 | 18 |
16 namespace base { | 19 namespace base { |
17 class Timer; | 20 class Timer; |
18 } // namespace base | 21 } // namespace base |
19 | 22 |
20 namespace net { | 23 namespace net { |
21 class DrainableIOBuffer; | 24 class DrainableIOBuffer; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 101 |
99 // The activity timer. | 102 // The activity timer. |
100 scoped_ptr<base::Timer> timer_; | 103 scoped_ptr<base::Timer> timer_; |
101 | 104 |
102 DISALLOW_COPY_AND_ASSIGN(GnubbySocket); | 105 DISALLOW_COPY_AND_ASSIGN(GnubbySocket); |
103 }; | 106 }; |
104 | 107 |
105 } // namespace remoting | 108 } // namespace remoting |
106 | 109 |
107 #endif // REMOTING_HOST_GNUBBY_SOCKET_H_ | 110 #endif // REMOTING_HOST_GNUBBY_SOCKET_H_ |
OLD | NEW |