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

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

Issue 1458163002: Remove |using base::StringPiece| from net/spdy header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « net/spdy/spdy_test_utils.h ('k') | net/tools/quic/quic_in_memory_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « net/spdy/spdy_test_utils.h ('k') | net/tools/quic/quic_in_memory_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698