| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 bool* is_https_scheme); | 59 bool* is_https_scheme); |
| 60 | 60 |
| 61 // BufferedSpdyFramerVisitorInterface: | 61 // BufferedSpdyFramerVisitorInterface: |
| 62 virtual void OnError(SpdyFramer::SpdyError error_code) OVERRIDE {} | 62 virtual void OnError(SpdyFramer::SpdyError error_code) OVERRIDE {} |
| 63 virtual void OnStreamError(SpdyStreamId stream_id, | 63 virtual void OnStreamError(SpdyStreamId stream_id, |
| 64 const std::string& description) OVERRIDE {} | 64 const std::string& description) OVERRIDE {} |
| 65 // Called after all the header data for SYN_STREAM control frame is received. | 65 // Called after all the header data for SYN_STREAM control frame is received. |
| 66 virtual void OnSynStream(SpdyStreamId stream_id, | 66 virtual void OnSynStream(SpdyStreamId stream_id, |
| 67 SpdyStreamId associated_stream_id, | 67 SpdyStreamId associated_stream_id, |
| 68 SpdyPriority priority, | 68 SpdyPriority priority, |
| 69 uint8 credential_slot, | |
| 70 bool fin, | 69 bool fin, |
| 71 bool unidirectional, | 70 bool unidirectional, |
| 72 const SpdyHeaderBlock& headers) OVERRIDE; | 71 const SpdyHeaderBlock& headers) OVERRIDE; |
| 73 | 72 |
| 74 // Called after all the header data for SYN_REPLY control frame is received. | 73 // Called after all the header data for SYN_REPLY control frame is received. |
| 75 virtual void OnSynReply(SpdyStreamId stream_id, | 74 virtual void OnSynReply(SpdyStreamId stream_id, |
| 76 bool fin, | 75 bool fin, |
| 77 const SpdyHeaderBlock& headers) OVERRIDE; | 76 const SpdyHeaderBlock& headers) OVERRIDE; |
| 78 | 77 |
| 79 // Called after all the header data for HEADERS control frame is received. | 78 // Called after all the header data for HEADERS control frame is received. |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 typedef std::map<uint32, SMInterface*> StreamToSmif; | 205 typedef std::map<uint32, SMInterface*> StreamToSmif; |
| 207 StreamToSmif stream_to_smif_; | 206 StreamToSmif stream_to_smif_; |
| 208 bool close_on_error_; | 207 bool close_on_error_; |
| 209 | 208 |
| 210 static std::string forward_ip_header_; | 209 static std::string forward_ip_header_; |
| 211 }; | 210 }; |
| 212 | 211 |
| 213 } // namespace net | 212 } // namespace net |
| 214 | 213 |
| 215 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ | 214 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ |
| OLD | NEW |