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

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

Issue 468373002: Patch set 2 of Daniel Ziegler's CL Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Suggested changes. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.cc ('k') | no next file » | 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 #include "net/tools/quic/test_tools/server_thread.h" 5 #include "net/tools/quic/test_tools/server_thread.h"
6 6
7 #include "net/tools/quic/quic_dispatcher.h"
7 #include "net/tools/quic/test_tools/quic_server_peer.h" 8 #include "net/tools/quic/test_tools/quic_server_peer.h"
8 9
9 namespace net { 10 namespace net {
10 namespace tools { 11 namespace tools {
11 namespace test { 12 namespace test {
12 13
13 ServerThread::ServerThread(QuicServer* server, 14 ServerThread::ServerThread(QuicServer* server,
14 IPEndPoint address, 15 IPEndPoint address,
15 bool strike_register_no_startup_period) 16 bool strike_register_no_startup_period)
16 : SimpleThread("server_thread"), 17 : SimpleThread("server_thread"),
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 104 }
104 QuicSession* session = dispatcher->session_map().begin()->second; 105 QuicSession* session = dispatcher->session_map().begin()->second;
105 if (session->IsCryptoHandshakeConfirmed()) { 106 if (session->IsCryptoHandshakeConfirmed()) {
106 confirmed_.Signal(); 107 confirmed_.Signal();
107 } 108 }
108 } 109 }
109 110
110 } // namespace test 111 } // namespace test
111 } // namespace tools 112 } // namespace tools
112 } // namespace net 113 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698