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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SERVER_THREAD_H_ 5 #ifndef NET_TOOLS_QUIC_SERVER_THREAD_H_
6 #define NET_TOOLS_QUIC_SERVER_THREAD_H_ 6 #define NET_TOOLS_QUIC_SERVER_THREAD_H_
7 7
8 #include "base/threading/simple_thread.h" 8 #include "base/threading/simple_thread.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "net/quic/quic_config.h" 10 #include "net/quic/quic_config.h"
(...skipping 10 matching lines...) Expand all
21 IPEndPoint address, 21 IPEndPoint address,
22 bool strike_register_no_startup_period); 22 bool strike_register_no_startup_period);
23 23
24 virtual ~ServerThread(); 24 virtual ~ServerThread();
25 25
26 // Prepares the server, but does not start accepting connections. Useful for 26 // Prepares the server, but does not start accepting connections. Useful for
27 // injecting mocks. 27 // injecting mocks.
28 void Initialize(); 28 void Initialize();
29 29
30 // Runs the event loop. Will initialize if necessary. 30 // Runs the event loop. Will initialize if necessary.
31 virtual void Run() OVERRIDE; 31 virtual void Run() override;
32 32
33 // Waits for the handshake to be confirmed for the first session created. 33 // Waits for the handshake to be confirmed for the first session created.
34 void WaitForCryptoHandshakeConfirmed(); 34 void WaitForCryptoHandshakeConfirmed();
35 35
36 // Pauses execution of the server until Resume() is called. May only be 36 // Pauses execution of the server until Resume() is called. May only be
37 // called once. 37 // called once.
38 void Pause(); 38 void Pause();
39 39
40 // Resumes execution of the server after Pause() has been called. May only 40 // Resumes execution of the server after Pause() has been called. May only
41 // be called once. 41 // be called once.
(...skipping 29 matching lines...) Expand all
71 bool initialized_; 71 bool initialized_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(ServerThread); 73 DISALLOW_COPY_AND_ASSIGN(ServerThread);
74 }; 74 };
75 75
76 } // namespace test 76 } // namespace test
77 } // namespace tools 77 } // namespace tools
78 } // namespace net 78 } // namespace net
79 79
80 #endif // NET_TOOLS_QUIC_SERVER_THREAD_H_ 80 #endif // NET_TOOLS_QUIC_SERVER_THREAD_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698