| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 // Called when a PING frame has been parsed. | 134 // Called when a PING frame has been parsed. |
| 135 void OnPing(SpdyPingId unique_id, bool is_ack) override {} | 135 void OnPing(SpdyPingId unique_id, bool is_ack) override {} |
| 136 | 136 |
| 137 // Called when a RST_STREAM frame has been parsed. | 137 // Called when a RST_STREAM frame has been parsed. |
| 138 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override; | 138 void OnRstStream(SpdyStreamId stream_id, SpdyRstStreamStatus status) override; |
| 139 | 139 |
| 140 // Called when a GOAWAY frame has been parsed. | 140 // Called when a GOAWAY frame has been parsed. |
| 141 void OnGoAway(SpdyStreamId last_accepted_stream_id, | 141 void OnGoAway(SpdyStreamId last_accepted_stream_id, |
| 142 SpdyGoAwayStatus status, | 142 SpdyGoAwayStatus status, |
| 143 StringPiece debug_data) override {} | 143 base::StringPiece debug_data) override {} |
| 144 | 144 |
| 145 // Called when a WINDOW_UPDATE frame has been parsed. | 145 // Called when a WINDOW_UPDATE frame has been parsed. |
| 146 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} | 146 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} |
| 147 | 147 |
| 148 // Called when a PUSH_PROMISE frame has been parsed. | 148 // Called when a PUSH_PROMISE frame has been parsed. |
| 149 void OnPushPromise(SpdyStreamId stream_id, | 149 void OnPushPromise(SpdyStreamId stream_id, |
| 150 SpdyStreamId promised_stream_id, | 150 SpdyStreamId promised_stream_id, |
| 151 const SpdyHeaderBlock& headers) override {} | 151 const SpdyHeaderBlock& headers) override {} |
| 152 | 152 |
| 153 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override; | 153 bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 typedef std::map<uint32, SMInterface*> StreamToSmif; | 231 typedef std::map<uint32, SMInterface*> StreamToSmif; |
| 232 StreamToSmif stream_to_smif_; | 232 StreamToSmif stream_to_smif_; |
| 233 bool close_on_error_; | 233 bool close_on_error_; |
| 234 | 234 |
| 235 static std::string forward_ip_header_; | 235 static std::string forward_ip_header_; |
| 236 }; | 236 }; |
| 237 | 237 |
| 238 } // namespace net | 238 } // namespace net |
| 239 | 239 |
| 240 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ | 240 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ |
| OLD | NEW |