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

Side by Side Diff: net/quic/reliable_quic_stream.cc

Issue 125403006: Various QUIC cleanups to sync with internal code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 6 years, 11 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/quic_protocol.h ('k') | net/quic/test_tools/quic_test_utils.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 (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 "net/quic/reliable_quic_stream.h" 5 #include "net/quic/reliable_quic_stream.h"
6 6
7 #include "base/logging.h"
7 #include "net/quic/quic_session.h" 8 #include "net/quic/quic_session.h"
8 #include "net/quic/quic_spdy_decompressor.h" 9 #include "net/quic/quic_spdy_decompressor.h"
9 #include "net/spdy/write_blocked_list.h" 10 #include "net/spdy/write_blocked_list.h"
10 11
11 using base::StringPiece; 12 using base::StringPiece;
12 using std::min; 13 using std::min;
13 14
14 namespace net { 15 namespace net {
15 16
16 #define ENDPOINT (is_server_ ? "Server: " : " Client: ") 17 #define ENDPOINT (is_server_ ? "Server: " : " Client: ")
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool ReliableQuicStream::HasBufferedData() { 217 bool ReliableQuicStream::HasBufferedData() {
217 return !queued_data_.empty(); 218 return !queued_data_.empty();
218 } 219 }
219 220
220 void ReliableQuicStream::OnClose() { 221 void ReliableQuicStream::OnClose() {
221 CloseReadSide(); 222 CloseReadSide();
222 CloseWriteSide(); 223 CloseWriteSide();
223 } 224 }
224 225
225 } // namespace net 226 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698