| 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_BUFFERED_SPDY_FRAMER_H_ | 5 #ifndef NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
| 6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_ | 6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
| 15 #include "net/spdy/header_coalescer.h" | 15 #include "net/spdy/chromium/header_coalescer.h" |
| 16 #include "net/spdy/core/spdy_alt_svc_wire_format.h" |
| 17 #include "net/spdy/core/spdy_framer.h" |
| 18 #include "net/spdy/core/spdy_header_block.h" |
| 19 #include "net/spdy/core/spdy_protocol.h" |
| 16 #include "net/spdy/platform/api/spdy_string.h" | 20 #include "net/spdy/platform/api/spdy_string.h" |
| 17 #include "net/spdy/platform/api/spdy_string_piece.h" | 21 #include "net/spdy/platform/api/spdy_string_piece.h" |
| 18 #include "net/spdy/spdy_alt_svc_wire_format.h" | |
| 19 #include "net/spdy/spdy_framer.h" | |
| 20 #include "net/spdy/spdy_header_block.h" | |
| 21 #include "net/spdy/spdy_protocol.h" | |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 | 24 |
| 25 class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface { | 25 class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface { |
| 26 public: | 26 public: |
| 27 BufferedSpdyFramerVisitorInterface() {} | 27 BufferedSpdyFramerVisitorInterface() {} |
| 28 | 28 |
| 29 // Called if an error is detected in the SpdySerializedFrame protocol. | 29 // Called if an error is detected in the SpdySerializedFrame protocol. |
| 30 virtual void OnError(SpdyFramer::SpdyFramerError spdy_framer_error) = 0; | 30 virtual void OnError(SpdyFramer::SpdyFramerError spdy_framer_error) = 0; |
| 31 | 31 |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 std::unique_ptr<GoAwayFields> goaway_fields_; | 269 std::unique_ptr<GoAwayFields> goaway_fields_; |
| 270 | 270 |
| 271 std::unique_ptr<HeaderCoalescer> coalescer_; | 271 std::unique_ptr<HeaderCoalescer> coalescer_; |
| 272 | 272 |
| 273 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); | 273 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 } // namespace net | 276 } // namespace net |
| 277 | 277 |
| 278 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ | 278 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
| OLD | NEW |