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

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

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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 (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/tools/quic/quic_spdy_client_stream.h" 5 #include "net/tools/quic/quic_spdy_client_stream.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "net/quic/core/quic_alarm.h" 9 #include "net/quic/core/quic_alarm.h"
10 #include "net/quic/core/quic_client_promised_info.h" 10 #include "net/quic/core/quic_client_promised_info.h"
11 #include "net/quic/core/spdy_utils.h" 11 #include "net/quic/core/spdy_utils.h"
12 #include "net/quic/platform/api/quic_logging.h" 12 #include "net/quic/platform/api/quic_logging.h"
13 #include "net/spdy/spdy_protocol.h" 13 #include "net/spdy/core/spdy_protocol.h"
14 #include "net/tools/quic/quic_client_session.h" 14 #include "net/tools/quic/quic_client_session.h"
15 15
16 using std::string; 16 using std::string;
17 17
18 namespace net { 18 namespace net {
19 19
20 QuicSpdyClientStream::QuicSpdyClientStream(QuicStreamId id, 20 QuicSpdyClientStream::QuicSpdyClientStream(QuicStreamId id,
21 QuicClientSession* session) 21 QuicClientSession* session)
22 : QuicSpdyStream(id, session), 22 : QuicSpdyStream(id, session),
23 content_length_(-1), 23 content_length_(-1),
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 bytes_sent += header_bytes_written_; 148 bytes_sent += header_bytes_written_;
149 149
150 if (!body.empty()) { 150 if (!body.empty()) {
151 WriteOrBufferData(body, fin, nullptr); 151 WriteOrBufferData(body, fin, nullptr);
152 } 152 }
153 153
154 return bytes_sent; 154 return bytes_sent;
155 } 155 }
156 156
157 } // namespace net 157 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.h ('k') | net/websockets/websocket_handshake_stream_create_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698