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

Side by Side Diff: net/spdy/spdy_framer.h

Issue 141953004: SPDY cleanup: remove credential slot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix inadvertent rebase on upstream branches. Created 6 years, 10 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
« no previous file with comments | « net/spdy/mock_spdy_framer_visitor.h ('k') | net/spdy/spdy_framer.cc » ('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_SPDY_SPDY_FRAMER_H_ 5 #ifndef NET_SPDY_SPDY_FRAMER_H_
6 #define NET_SPDY_SPDY_FRAMER_H_ 6 #define NET_SPDY_SPDY_FRAMER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 virtual bool OnControlFrameHeaderData(SpdyStreamId stream_id, 157 virtual bool OnControlFrameHeaderData(SpdyStreamId stream_id,
158 const char* header_data, 158 const char* header_data,
159 size_t len) = 0; 159 size_t len) = 0;
160 160
161 // Called when a SYN_STREAM frame is received. 161 // Called when a SYN_STREAM frame is received.
162 // Note that header block data is not included. See 162 // Note that header block data is not included. See
163 // OnControlFrameHeaderData(). 163 // OnControlFrameHeaderData().
164 virtual void OnSynStream(SpdyStreamId stream_id, 164 virtual void OnSynStream(SpdyStreamId stream_id,
165 SpdyStreamId associated_stream_id, 165 SpdyStreamId associated_stream_id,
166 SpdyPriority priority, 166 SpdyPriority priority,
167 uint8 credential_slot,
168 bool fin, 167 bool fin,
169 bool unidirectional) = 0; 168 bool unidirectional) = 0;
170 169
171 // Called when a SYN_REPLY frame is received. 170 // Called when a SYN_REPLY frame is received.
172 // Note that header block data is not included. See 171 // Note that header block data is not included. See
173 // OnControlFrameHeaderData(). 172 // OnControlFrameHeaderData().
174 virtual void OnSynReply(SpdyStreamId stream_id, bool fin) = 0; 173 virtual void OnSynReply(SpdyStreamId stream_id, bool fin) = 0;
175 174
176 // Called when a RST_STREAM frame has been parsed. 175 // Called when a RST_STREAM frame has been parsed.
177 virtual void OnRstStream(SpdyStreamId stream_id, 176 virtual void OnRstStream(SpdyStreamId stream_id,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 // starts with HTTP. If it does, we likely have an HTTP response. This 644 // starts with HTTP. If it does, we likely have an HTTP response. This
646 // isn't guaranteed though: we could have gotten a settings frame and then 645 // isn't guaranteed though: we could have gotten a settings frame and then
647 // corrupt data that just looks like HTTP, but deterministic checking requires 646 // corrupt data that just looks like HTTP, but deterministic checking requires
648 // a lot more state. 647 // a lot more state.
649 bool probable_http_response_; 648 bool probable_http_response_;
650 }; 649 };
651 650
652 } // namespace net 651 } // namespace net
653 652
654 #endif // NET_SPDY_SPDY_FRAMER_H_ 653 #endif // NET_SPDY_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « net/spdy/mock_spdy_framer_visitor.h ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698