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

Side by Side Diff: net/tools/quic/end_to_end_test.cc

Issue 394053003: QUIC - minor cleanup changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with TOT Created 6 years, 5 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/quic/reliable_quic_stream.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stddef.h> 5 #include <stddef.h>
6 #include <string> 6 #include <string>
7 #include <sys/epoll.h> 7 #include <sys/epoll.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 1318
1319 // Server should be in a similar state: connection flow control window should 1319 // Server should be in a similar state: connection flow control window should
1320 // not have any bytes marked as received. 1320 // not have any bytes marked as received.
1321 server_thread_->Pause(); 1321 server_thread_->Pause();
1322 QuicDispatcher* dispatcher = 1322 QuicDispatcher* dispatcher =
1323 QuicServerPeer::GetDispatcher(server_thread_->server()); 1323 QuicServerPeer::GetDispatcher(server_thread_->server());
1324 QuicSession* session = dispatcher->session_map().begin()->second; 1324 QuicSession* session = dispatcher->session_map().begin()->second;
1325 QuicFlowController* server_connection_flow_controller = 1325 QuicFlowController* server_connection_flow_controller =
1326 session->flow_controller(); 1326 session->flow_controller();
1327 EXPECT_EQ(kSessionIFCW, QuicFlowControllerPeer::ReceiveWindowSize( 1327 EXPECT_EQ(kSessionIFCW, QuicFlowControllerPeer::ReceiveWindowSize(
1328 server_connection_flow_controller)); 1328 server_connection_flow_controller));
1329 server_thread_->Resume(); 1329 server_thread_->Resume();
1330 } 1330 }
1331 1331
1332 } // namespace 1332 } // namespace
1333 } // namespace test 1333 } // namespace test
1334 } // namespace tools 1334 } // namespace tools
1335 } // namespace net 1335 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698