OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_flags.h" | 5 #include "net/spdy/chromium/spdy_flags.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 // Log compressed size of HTTP/2 requests. | 9 // Log compressed size of HTTP/2 requests. |
10 bool FLAGS_chromium_http2_flag_log_compressed_size = true; | 10 bool FLAGS_chromium_http2_flag_log_compressed_size = true; |
11 | 11 |
12 // If true, remove use of SpdyFrameBuilder::OverwriteLength(). | 12 // If true, remove use of SpdyFrameBuilder::OverwriteLength(). |
13 bool FLAGS_chromium_http2_flag_remove_rewritelength = true; | 13 bool FLAGS_chromium_http2_flag_remove_rewritelength = true; |
14 | 14 |
15 // Use //net/http2/hpack/decoder as complete HPACK decoder. | 15 // Use //net/http2/hpack/decoder as complete HPACK decoder. |
16 bool FLAGS_chromium_http2_flag_spdy_use_hpack_decoder3 = true; | 16 bool FLAGS_chromium_http2_flag_spdy_use_hpack_decoder3 = true; |
17 | 17 |
18 // Use Http2FrameDecoderAdapter. | 18 // Use Http2FrameDecoderAdapter. |
19 // TODO(jamessynge): Remove flag once no longer set by scripts. | 19 // TODO(jamessynge): Remove flag once no longer set by scripts. |
20 bool FLAGS_chromium_http2_flag_spdy_use_http2_frame_decoder_adapter = true; | 20 bool FLAGS_chromium_http2_flag_spdy_use_http2_frame_decoder_adapter = true; |
21 | 21 |
22 // Use NestedSpdyFramerDecoder. | 22 // Use NestedSpdyFramerDecoder. |
23 bool FLAGS_use_nested_spdy_framer_decoder = false; | 23 bool FLAGS_use_nested_spdy_framer_decoder = false; |
24 | 24 |
25 } // namespace net | 25 } // namespace net |
OLD | NEW |