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

Side by Side Diff: net/spdy/spdy_framer.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
« no previous file with comments | « net/quic/test_tools/simple_quic_framer.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 <ios> 10 #include <ios>
11 #include <iterator> 11 #include <iterator>
12 #include <list> 12 #include <list>
13 #include <memory> 13 #include <memory>
14 #include <new> 14 #include <new>
15 #include <string> 15 #include <string>
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/metrics/histogram_macros.h" 20 #include "base/metrics/histogram_macros.h"
21 #include "net/quic/quic_flags.h" 21 #include "net/quic/core/quic_flags.h"
22 #include "net/spdy/hpack/hpack_constants.h" 22 #include "net/spdy/hpack/hpack_constants.h"
23 #include "net/spdy/spdy_bitmasks.h" 23 #include "net/spdy/spdy_bitmasks.h"
24 #include "net/spdy/spdy_bug_tracker.h" 24 #include "net/spdy/spdy_bug_tracker.h"
25 #include "net/spdy/spdy_flags.h" 25 #include "net/spdy/spdy_flags.h"
26 #include "net/spdy/spdy_frame_builder.h" 26 #include "net/spdy/spdy_frame_builder.h"
27 #include "net/spdy/spdy_frame_reader.h" 27 #include "net/spdy/spdy_frame_reader.h"
28 #include "net/spdy/spdy_framer_decoder_adapter.h" 28 #include "net/spdy/spdy_framer_decoder_adapter.h"
29 #include "net/spdy/spdy_headers_block_parser.h" 29 #include "net/spdy/spdy_headers_block_parser.h"
30 #include "third_party/zlib/zlib.h" 30 #include "third_party/zlib/zlib.h"
31 31
(...skipping 3299 matching lines...) Expand 10 before | Expand all | Expand 10 after
3331 #else 3331 #else
3332 WriteHeaderBlockToZ(&frame.header_block(), compressor); 3332 WriteHeaderBlockToZ(&frame.header_block(), compressor);
3333 #endif // defined(USE_SYSTEM_ZLIB) 3333 #endif // defined(USE_SYSTEM_ZLIB)
3334 3334
3335 int compressed_size = compressed_max_size - compressor->avail_out; 3335 int compressed_size = compressed_max_size - compressor->avail_out;
3336 builder->Seek(compressed_size); 3336 builder->Seek(compressed_size);
3337 builder->RewriteLength(*this); 3337 builder->RewriteLength(*this);
3338 } 3338 }
3339 3339
3340 } // namespace net 3340 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/simple_quic_framer.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698