OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ |
6 #define NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/threading/simple_thread.h" | 9 #include "base/threading/simple_thread.h" |
9 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
10 #include "net/quic/quic_config.h" | 11 #include "net/quic/quic_config.h" |
11 #include "net/tools/quic/quic_server.h" | 12 #include "net/tools/quic/quic_server.h" |
12 | 13 |
13 namespace net { | 14 namespace net { |
14 namespace tools { | 15 namespace tools { |
15 namespace test { | 16 namespace test { |
16 | 17 |
17 // Simple wrapper class to run QuicServer in a dedicated thread. | 18 // Simple wrapper class to run QuicServer in a dedicated thread. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 bool initialized_; | 72 bool initialized_; |
72 | 73 |
73 DISALLOW_COPY_AND_ASSIGN(ServerThread); | 74 DISALLOW_COPY_AND_ASSIGN(ServerThread); |
74 }; | 75 }; |
75 | 76 |
76 } // namespace test | 77 } // namespace test |
77 } // namespace tools | 78 } // namespace tools |
78 } // namespace net | 79 } // namespace net |
79 | 80 |
80 #endif // NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ | 81 #endif // NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ |
OLD | NEW |