OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HEADERS_HANDLER_INTERFACE_H_ | 5 #ifndef NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_ |
6 #define NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_ | 6 #define NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 // A callback method which notifies when the parser finishes handling a | 37 // A callback method which notifies when the parser finishes handling a |
38 // header block (i.e. the containing frame has the END_HEADERS flag set). | 38 // header block (i.e. the containing frame has the END_HEADERS flag set). |
39 // Also indicates the total number of bytes in this block. | 39 // Also indicates the total number of bytes in this block. |
40 virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes, | 40 virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes, |
41 size_t compressed_header_bytes) = 0; | 41 size_t compressed_header_bytes) = 0; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace net | 44 } // namespace net |
45 | 45 |
46 #endif // NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_ | 46 #endif // NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_ |
OLD | NEW |