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. |
| 10 bool FLAGS_chromium_http2_flag_log_compressed_size = true; |
| 11 |
9 // If true, SpdyFramer uses the new visitor methods OnHeaderFrameStart and | 12 // If true, SpdyFramer uses the new visitor methods OnHeaderFrameStart and |
10 // OnHeaderFrameEnd. Fourth attempt. | 13 // OnHeaderFrameEnd. Fourth attempt. |
11 bool FLAGS_chromium_http2_flag_spdy_framer_use_new_methods4 = true; | 14 bool FLAGS_chromium_http2_flag_spdy_framer_use_new_methods4 = true; |
12 | 15 |
13 // Use SpdyHeaderBlock::AppendValueOrAddHeader when adding to headers. | 16 // Use SpdyHeaderBlock::AppendValueOrAddHeader when adding to headers. |
14 bool FLAGS_chromium_http2_flag_use_new_spdy_header_block_header_joining = true; | 17 bool FLAGS_chromium_http2_flag_use_new_spdy_header_block_header_joining = true; |
15 | 18 |
16 // If true, increase HPACK table size up to optimal size kOptTableSize if | 19 // If true, increase HPACK table size up to optimal size kOptTableSize if |
17 // clients allow it. | 20 // clients allow it. |
18 bool FLAGS_chromium_reloadable_flag_increase_hpack_table_size = false; | 21 bool FLAGS_chromium_reloadable_flag_increase_hpack_table_size = false; |
19 | 22 |
20 // Use NestedSpdyFramerDecoder. | 23 // Use NestedSpdyFramerDecoder. |
21 bool FLAGS_use_nested_spdy_framer_decoder = false; | 24 bool FLAGS_use_nested_spdy_framer_decoder = false; |
22 | 25 |
23 } // namespace net | 26 } // namespace net |
OLD | NEW |