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 <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 size_t GetRstStreamMinimumSize() const; | 516 size_t GetRstStreamMinimumSize() const; |
517 size_t GetSettingsMinimumSize() const; | 517 size_t GetSettingsMinimumSize() const; |
518 size_t GetPingSize() const; | 518 size_t GetPingSize() const; |
519 size_t GetGoAwayMinimumSize() const; | 519 size_t GetGoAwayMinimumSize() const; |
520 size_t GetHeadersMinimumSize() const; | 520 size_t GetHeadersMinimumSize() const; |
521 size_t GetWindowUpdateSize() const; | 521 size_t GetWindowUpdateSize() const; |
522 size_t GetBlockedSize() const; | 522 size_t GetBlockedSize() const; |
523 size_t GetPushPromiseMinimumSize() const; | 523 size_t GetPushPromiseMinimumSize() const; |
524 size_t GetContinuationMinimumSize() const; | 524 size_t GetContinuationMinimumSize() const; |
525 size_t GetAltSvcMinimumSize() const; | 525 size_t GetAltSvcMinimumSize() const; |
| 526 size_t GetPrioritySize() const; |
526 | 527 |
527 // Returns the minimum size a frame can be (data or control). | 528 // Returns the minimum size a frame can be (data or control). |
528 size_t GetFrameMinimumSize() const; | 529 size_t GetFrameMinimumSize() const; |
529 | 530 |
530 // Returns the maximum size a frame can be (data or control). | 531 // Returns the maximum size a frame can be (data or control). |
531 size_t GetFrameMaximumSize() const; | 532 size_t GetFrameMaximumSize() const; |
532 | 533 |
533 // Returns the maximum size that a control frame can be. | 534 // Returns the maximum size that a control frame can be. |
534 size_t GetControlFrameMaximumSize() const; | 535 size_t GetControlFrameMaximumSize() const; |
535 | 536 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM | 791 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM |
791 // flag is still carried in the HEADERS frame. If it's set, flip this so that | 792 // flag is still carried in the HEADERS frame. If it's set, flip this so that |
792 // we know to terminate the stream when the entire header block has been | 793 // we know to terminate the stream when the entire header block has been |
793 // processed. | 794 // processed. |
794 bool end_stream_when_done_; | 795 bool end_stream_when_done_; |
795 }; | 796 }; |
796 | 797 |
797 } // namespace net | 798 } // namespace net |
798 | 799 |
799 #endif // NET_SPDY_SPDY_FRAMER_H_ | 800 #endif // NET_SPDY_SPDY_FRAMER_H_ |
OLD | NEW |