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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 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
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 "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "net/quic/quic_alarm.h" 12 #include "net/quic/core/quic_alarm.h"
13 #include "net/quic/quic_client_promised_info.h" 13 #include "net/quic/core/quic_client_promised_info.h"
14 #include "net/quic/spdy_utils.h" 14 #include "net/quic/core/spdy_utils.h"
15 #include "net/spdy/spdy_protocol.h" 15 #include "net/spdy/spdy_protocol.h"
16 #include "net/tools/quic/quic_client_session.h" 16 #include "net/tools/quic/quic_client_session.h"
17 #include "net/tools/quic/spdy_balsa_utils.h" 17 #include "net/tools/quic/spdy_balsa_utils.h"
18 18
19 using base::StringPiece; 19 using base::StringPiece;
20 using std::string; 20 using std::string;
21 using base::StringToInt; 21 using base::StringToInt;
22 22
23 namespace net { 23 namespace net {
24 24
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 bytes_sent += header_bytes_written_; 192 bytes_sent += header_bytes_written_;
193 193
194 if (!body.empty()) { 194 if (!body.empty()) {
195 WriteOrBufferData(body, fin, nullptr); 195 WriteOrBufferData(body, fin, nullptr);
196 } 196 }
197 197
198 return bytes_sent; 198 return bytes_sent;
199 } 199 }
200 200
201 } // namespace net 201 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_spdy_client_stream.h ('k') | net/tools/quic/quic_spdy_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698