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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 // in decompressed form, in chunks. Returns true if the visitor has | 581 // in decompressed form, in chunks. Returns true if the visitor has |
582 // accepted all of the chunks. | 582 // accepted all of the chunks. |
583 bool IncrementallyDecompressControlFrameHeaderData( | 583 bool IncrementallyDecompressControlFrameHeaderData( |
584 SpdyStreamId stream_id, | 584 SpdyStreamId stream_id, |
585 const char* data, | 585 const char* data, |
586 size_t len); | 586 size_t len); |
587 | 587 |
588 // Updates the maximum size of the header encoder compression table. | 588 // Updates the maximum size of the header encoder compression table. |
589 void UpdateHeaderEncoderTableSize(uint32_t value); | 589 void UpdateHeaderEncoderTableSize(uint32_t value); |
590 | 590 |
591 // Updates the maximum size of the header decoder compression table. | |
592 void UpdateHeaderDecoderTableSize(uint32_t value); | |
593 | |
594 // Returns the maximum size of the header encoder compression table. | 591 // Returns the maximum size of the header encoder compression table. |
595 size_t header_encoder_table_size() const; | 592 size_t header_encoder_table_size() const; |
596 | 593 |
597 void SetDecoderHeaderTableDebugVisitor( | 594 void SetDecoderHeaderTableDebugVisitor( |
598 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor); | 595 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor); |
599 | 596 |
600 void SetEncoderHeaderTableDebugVisitor( | 597 void SetEncoderHeaderTableDebugVisitor( |
601 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor); | 598 std::unique_ptr<HpackHeaderTable::DebugVisitorInterface> visitor); |
602 | 599 |
603 // For testing support (i.e. for clients and backends), | 600 // For testing support (i.e. for clients and backends), |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 // rather than reading all available input. | 857 // rather than reading all available input. |
861 bool process_single_input_frame_ = false; | 858 bool process_single_input_frame_ = false; |
862 | 859 |
863 bool use_new_methods_ = | 860 bool use_new_methods_ = |
864 FLAGS_chromium_http2_flag_spdy_framer_use_new_methods3; | 861 FLAGS_chromium_http2_flag_spdy_framer_use_new_methods3; |
865 }; | 862 }; |
866 | 863 |
867 } // namespace net | 864 } // namespace net |
868 | 865 |
869 #endif // NET_SPDY_SPDY_FRAMER_H_ | 866 #endif // NET_SPDY_SPDY_FRAMER_H_ |
OLD | NEW |