| OLD | NEW |
| 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 #ifndef NET_SPDY_SPDY_FRAMER_H_ | 5 #ifndef NET_SPDY_SPDY_FRAMER_H_ |
| 6 #define NET_SPDY_SPDY_FRAMER_H_ | 6 #define NET_SPDY_SPDY_FRAMER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 | 758 |
| 759 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM | 759 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM |
| 760 // flag is still carried in the HEADERS frame. If it's set, flip this so that | 760 // flag is still carried in the HEADERS frame. If it's set, flip this so that |
| 761 // we know to terminate the stream when the entire header block has been | 761 // we know to terminate the stream when the entire header block has been |
| 762 // processed. | 762 // processed. |
| 763 bool end_stream_when_done_; | 763 bool end_stream_when_done_; |
| 764 | 764 |
| 765 // If true, then ProcessInput returns after processing a full frame, | 765 // If true, then ProcessInput returns after processing a full frame, |
| 766 // rather than reading all available input. | 766 // rather than reading all available input. |
| 767 bool process_single_input_frame_ = false; | 767 bool process_single_input_frame_ = false; |
| 768 |
| 769 // Latched value of FLAGS_chromium_http2_flag_remove_rewritelength. |
| 770 bool skip_rewritelength_ = false; |
| 768 }; | 771 }; |
| 769 | 772 |
| 770 } // namespace net | 773 } // namespace net |
| 771 | 774 |
| 772 #endif // NET_SPDY_SPDY_FRAMER_H_ | 775 #endif // NET_SPDY_SPDY_FRAMER_H_ |
| OLD | NEW |