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

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

Issue 1006193003: Remove Balsa from QuicSpdyClientStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 9 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
« no previous file with comments | « net/tools/quic/spdy_utils.h ('k') | net/tools/quic/test_tools/quic_test_client.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/tools/quic/spdy_utils.h" 5 #include "net/tools/quic/spdy_utils.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 } 319 }
320 request_headers->SetResponseVersion(version_it->second); 320 request_headers->SetResponseVersion(version_it->second);
321 for (BlockIt it = header_block.begin(); it != header_block.end(); ++it) { 321 for (BlockIt it = header_block.begin(); it != header_block.end(); ++it) {
322 if (!IsSpecialSpdyHeader(it, request_headers)) { 322 if (!IsSpecialSpdyHeader(it, request_headers)) {
323 request_headers->AppendHeader(it->first, it->second); 323 request_headers->AppendHeader(it->first, it->second);
324 } 324 }
325 } 325 }
326 return true; 326 return true;
327 } 327 }
328 328
329 // static
330 void SpdyUtils::SpdyHeadersToResponseHeaders(
331 const SpdyHeaderBlock& block,
332 BalsaHeaders* headers) {
333 FillBalsaResponseHeaders(block, headers);
334 }
335
329 } // namespace tools 336 } // namespace tools
330 } // namespace net 337 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/spdy_utils.h ('k') | net/tools/quic/test_tools/quic_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698