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

Side by Side Diff: net/spdy/spdy_framer.cc

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format 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
« no previous file with comments | « net/quic/test_tools/simulator/quic_endpoint.cc ('k') | net/spdy/spdy_framer_test.cc » ('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/spdy/spdy_framer.h" 5 #include "net/spdy/spdy_framer.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cctype> 10 #include <cctype>
11 #include <ios> 11 #include <ios>
12 #include <iterator> 12 #include <iterator>
13 #include <list> 13 #include <list>
14 #include <memory> 14 #include <memory>
15 #include <new> 15 #include <new>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/lazy_instance.h" 18 #include "base/lazy_instance.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/memory/ptr_util.h" 20 #include "base/memory/ptr_util.h"
21 #include "base/metrics/histogram_macros.h" 21 #include "base/metrics/histogram_macros.h"
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "net/quic/core/quic_flags.h" 23 #include "net/quic/platform/api/quic_flags.h"
24 #include "net/spdy/hpack/hpack_constants.h" 24 #include "net/spdy/hpack/hpack_constants.h"
25 #include "net/spdy/hpack/hpack_decoder.h" 25 #include "net/spdy/hpack/hpack_decoder.h"
26 #include "net/spdy/hpack/hpack_decoder3.h" 26 #include "net/spdy/hpack/hpack_decoder3.h"
27 #include "net/spdy/http2_frame_decoder_adapter.h" 27 #include "net/spdy/http2_frame_decoder_adapter.h"
28 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" 28 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h"
29 #include "net/spdy/platform/api/spdy_string_utils.h" 29 #include "net/spdy/platform/api/spdy_string_utils.h"
30 #include "net/spdy/spdy_bitmasks.h" 30 #include "net/spdy/spdy_bitmasks.h"
31 #include "net/spdy/spdy_bug_tracker.h" 31 #include "net/spdy/spdy_bug_tracker.h"
32 #include "net/spdy/spdy_flags.h" 32 #include "net/spdy/spdy_flags.h"
33 #include "net/spdy/spdy_frame_builder.h" 33 #include "net/spdy/spdy_frame_builder.h"
(...skipping 2811 matching lines...) Expand 10 before | Expand all | Expand 10 after
2845 builder->WriteUInt32(header_block.size()); 2845 builder->WriteUInt32(header_block.size());
2846 2846
2847 // Serialize each header. 2847 // Serialize each header.
2848 for (const auto& header : header_block) { 2848 for (const auto& header : header_block) {
2849 builder->WriteStringPiece32(base::ToLowerASCII(header.first)); 2849 builder->WriteStringPiece32(base::ToLowerASCII(header.first));
2850 builder->WriteStringPiece32(header.second); 2850 builder->WriteStringPiece32(header.second);
2851 } 2851 }
2852 } 2852 }
2853 2853
2854 } // namespace net 2854 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/simulator/quic_endpoint.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698