Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: net/tools/quic/test_tools/server_thread.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/threading/simple_thread.h" 11 #include "base/threading/simple_thread.h"
12 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
13 #include "net/quic/quic_config.h" 13 #include "net/quic/core/quic_config.h"
14 #include "net/tools/quic/quic_server.h" 14 #include "net/tools/quic/quic_server.h"
15 15
16 namespace net { 16 namespace net {
17 namespace test { 17 namespace test {
18 18
19 // Simple wrapper class to run QuicServer in a dedicated thread. 19 // Simple wrapper class to run QuicServer in a dedicated thread.
20 class ServerThread : public base::SimpleThread { 20 class ServerThread : public base::SimpleThread {
21 public: 21 public:
22 ServerThread(QuicServer* server, 22 ServerThread(QuicServer* server,
23 const IPEndPoint& address, 23 const IPEndPoint& address,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 bool initialized_; 73 bool initialized_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ServerThread); 75 DISALLOW_COPY_AND_ASSIGN(ServerThread);
76 }; 76 };
77 77
78 } // namespace test 78 } // namespace test
79 } // namespace net 79 } // namespace net
80 80
81 #endif // NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_ 81 #endif // NET_TOOLS_QUIC_TEST_TOOLS_SERVER_THREAD_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_server.cc ('k') | net/url_request/url_request_context_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698