| 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_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ | 5 #ifndef NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ |
| 6 #define NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ | 6 #define NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 bool* is_https_scheme); | 61 bool* is_https_scheme); |
| 62 | 62 |
| 63 // BufferedSpdyFramerVisitorInterface: | 63 // BufferedSpdyFramerVisitorInterface: |
| 64 virtual void OnError(int error_code) OVERRIDE {} | 64 virtual void OnError(int error_code) OVERRIDE {} |
| 65 virtual void OnStreamError(spdy::SpdyStreamId stream_id, | 65 virtual void OnStreamError(spdy::SpdyStreamId stream_id, |
| 66 const std::string& description) OVERRIDE {} | 66 const std::string& description) OVERRIDE {} |
| 67 virtual void OnRstStream( | 67 virtual void OnRstStream( |
| 68 const spdy::SpdyRstStreamControlFrame& frame) OVERRIDE; | 68 const spdy::SpdyRstStreamControlFrame& frame) OVERRIDE; |
| 69 virtual void OnGoAway(const spdy::SpdyGoAwayControlFrame& frame) OVERRIDE {} | 69 virtual void OnGoAway(const spdy::SpdyGoAwayControlFrame& frame) OVERRIDE {} |
| 70 virtual void OnPing(const spdy::SpdyPingControlFrame& frame) OVERRIDE {} | 70 virtual void OnPing(const spdy::SpdyPingControlFrame& frame) OVERRIDE {} |
| 71 virtual void OnSettings( | |
| 72 const spdy::SpdySettingsControlFrame& frame) OVERRIDE {} | |
| 73 virtual void OnWindowUpdate( | 71 virtual void OnWindowUpdate( |
| 74 const spdy::SpdyWindowUpdateControlFrame& frame) OVERRIDE {} | 72 const spdy::SpdyWindowUpdateControlFrame& frame) OVERRIDE {} |
| 75 virtual void OnStreamFrameData(spdy::SpdyStreamId stream_id, | 73 virtual void OnStreamFrameData(spdy::SpdyStreamId stream_id, |
| 76 const char* data, | 74 const char* data, |
| 77 size_t len) OVERRIDE; | 75 size_t len) OVERRIDE; |
| 76 virtual void OnSetting( |
| 77 spdy::SpdySettingsIds id, uint8 flags, uint32 value) OVERRIDE {} |
| 78 virtual void OnSynStream( | 78 virtual void OnSynStream( |
| 79 const spdy::SpdySynStreamControlFrame& frame, | 79 const spdy::SpdySynStreamControlFrame& frame, |
| 80 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; | 80 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; |
| 81 virtual void OnSynReply( | 81 virtual void OnSynReply( |
| 82 const spdy::SpdySynReplyControlFrame& frame, | 82 const spdy::SpdySynReplyControlFrame& frame, |
| 83 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; | 83 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; |
| 84 virtual void OnHeaders( | 84 virtual void OnHeaders( |
| 85 const spdy::SpdyHeadersControlFrame& frame, | 85 const spdy::SpdyHeadersControlFrame& frame, |
| 86 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; | 86 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; |
| 87 | 87 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 StreamToSmif stream_to_smif_; | 157 StreamToSmif stream_to_smif_; |
| 158 bool close_on_error_; | 158 bool close_on_error_; |
| 159 | 159 |
| 160 static bool disable_data_compression_; | 160 static bool disable_data_compression_; |
| 161 static std::string forward_ip_header_; | 161 static std::string forward_ip_header_; |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 } // namespace net | 164 } // namespace net |
| 165 | 165 |
| 166 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ | 166 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ |
| OLD | NEW |