| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 14 #include "net/spdy/spdy_framer.h" | 14 #include "net/spdy/spdy_framer.h" |
| 15 #include "net/spdy/spdy_header_block.h" |
| 15 #include "net/spdy/spdy_protocol.h" | 16 #include "net/spdy/spdy_protocol.h" |
| 16 | 17 |
| 17 namespace net { | 18 namespace net { |
| 18 | 19 |
| 19 class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface { | 20 class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface { |
| 20 public: | 21 public: |
| 21 BufferedSpdyFramerVisitorInterface() {} | 22 BufferedSpdyFramerVisitorInterface() {} |
| 22 | 23 |
| 23 // Called if an error is detected in the SpdyFrame protocol. | 24 // Called if an error is detected in the SpdyFrame protocol. |
| 24 virtual void OnError(SpdyFramer::SpdyError error_code) = 0; | 25 virtual void OnError(SpdyFramer::SpdyError error_code) = 0; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool unidirectional; | 211 bool unidirectional; |
| 211 }; | 212 }; |
| 212 scoped_ptr<ControlFrameFields> control_frame_fields_; | 213 scoped_ptr<ControlFrameFields> control_frame_fields_; |
| 213 | 214 |
| 214 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); | 215 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); |
| 215 }; | 216 }; |
| 216 | 217 |
| 217 } // namespace net | 218 } // namespace net |
| 218 | 219 |
| 219 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ | 220 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ |
| OLD | NEW |