| 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/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 HPACK decoder. | 15 // Use //net/http2/hpack/decoder as HPACK entry decoder. |
| 16 bool FLAGS_chromium_http2_flag_spdy_use_hpack_decoder2 = false; | 16 bool FLAGS_chromium_http2_flag_spdy_use_hpack_decoder2 = false; |
| 17 | 17 |
| 18 // Use //net/http2/hpack/decoder as complete HPACK decoder. |
| 19 bool FLAGS_chromium_http2_flag_spdy_use_hpack_decoder3 = false; |
| 20 |
| 18 // If true, increase HPACK table size up to optimal size kOptTableSize if | 21 // If true, increase HPACK table size up to optimal size kOptTableSize if |
| 19 // clients allow it. | 22 // clients allow it. |
| 20 bool FLAGS_chromium_reloadable_flag_increase_hpack_table_size = false; | 23 bool FLAGS_chromium_reloadable_flag_increase_hpack_table_size = false; |
| 21 | 24 |
| 22 // Use Http2FrameDecoderAdapter. | 25 // Use Http2FrameDecoderAdapter. |
| 23 bool FLAGS_use_http2_frame_decoder_adapter = false; | 26 bool FLAGS_use_http2_frame_decoder_adapter = false; |
| 24 | 27 |
| 25 // Use NestedSpdyFramerDecoder. | 28 // Use NestedSpdyFramerDecoder. |
| 26 bool FLAGS_use_nested_spdy_framer_decoder = false; | 29 bool FLAGS_use_nested_spdy_framer_decoder = false; |
| 27 | 30 |
| 28 } // namespace net | 31 } // namespace net |
| OLD | NEW |