Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: net/tools/flip_server/spdy_interface.h

Issue 9618002: SPDY - integration of spdy/3 code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 71 virtual void OnSettings(
72 const spdy::SpdySettingsControlFrame& frame) OVERRIDE {} 72 const spdy::SpdySettingsControlFrame& frame) OVERRIDE {}
Ryan Hamilton 2012/03/09 19:09:58 Is OnSettings still required? I think BufferedSpd
ramant (doing other things) 2012/03/10 01:14:09 Done.
73 virtual void OnWindowUpdate( 73 virtual void OnWindowUpdate(
74 const spdy::SpdyWindowUpdateControlFrame& frame) OVERRIDE {} 74 const spdy::SpdyWindowUpdateControlFrame& frame) OVERRIDE {}
75 virtual void OnStreamFrameData(spdy::SpdyStreamId stream_id, 75 virtual void OnStreamFrameData(spdy::SpdyStreamId stream_id,
76 const char* data, 76 const char* data,
77 size_t len) OVERRIDE; 77 size_t len) OVERRIDE;
78 virtual void OnSetting(
79 spdy::SpdySettingsIds id, uint8 flags, uint32 value) OVERRIDE {}
78 virtual void OnSynStream( 80 virtual void OnSynStream(
79 const spdy::SpdySynStreamControlFrame& frame, 81 const spdy::SpdySynStreamControlFrame& frame,
80 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; 82 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE;
81 virtual void OnSynReply( 83 virtual void OnSynReply(
82 const spdy::SpdySynReplyControlFrame& frame, 84 const spdy::SpdySynReplyControlFrame& frame,
83 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; 85 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE;
84 virtual void OnHeaders( 86 virtual void OnHeaders(
85 const spdy::SpdyHeadersControlFrame& frame, 87 const spdy::SpdyHeadersControlFrame& frame,
86 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE; 88 const linked_ptr<spdy::SpdyHeaderBlock>& headers) OVERRIDE;
87 89
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 StreamToSmif stream_to_smif_; 159 StreamToSmif stream_to_smif_;
158 bool close_on_error_; 160 bool close_on_error_;
159 161
160 static bool disable_data_compression_; 162 static bool disable_data_compression_;
161 static std::string forward_ip_header_; 163 static std::string forward_ip_header_;
162 }; 164 };
163 165
164 } // namespace net 166 } // namespace net
165 167
166 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_ 168 #endif // NET_TOOLS_FLIP_SERVER_SPDY_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698