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

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

Issue 12258005: Remove SpdyWindowUpdateControlFrame. Useful in SPDY 4 development. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/buffered_spdy_framer.cc ('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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 // Creates an instance of SpdyHeadersControlFrame. The HEADERS frame is used 406 // Creates an instance of SpdyHeadersControlFrame. The HEADERS frame is used
407 // for sending additional headers outside of a SYN_STREAM/SYN_REPLY. The 407 // for sending additional headers outside of a SYN_STREAM/SYN_REPLY. The
408 // arguments are the same as for CreateSynReply. 408 // arguments are the same as for CreateSynReply.
409 SpdyHeadersControlFrame* CreateHeaders(SpdyStreamId stream_id, 409 SpdyHeadersControlFrame* CreateHeaders(SpdyStreamId stream_id,
410 SpdyControlFlags flags, 410 SpdyControlFlags flags,
411 bool compressed, 411 bool compressed,
412 const SpdyHeaderBlock* headers); 412 const SpdyHeaderBlock* headers);
413 SpdySerializedFrame* SerializeHeaders(const SpdyHeadersIR& headers); 413 SpdySerializedFrame* SerializeHeaders(const SpdyHeadersIR& headers);
414 414
415 // Creates an instance of SpdyWindowUpdateControlFrame. The WINDOW_UPDATE 415 // Creates and serializes a WINDOW_UPDATE frame. The WINDOW_UPDATE
416 // frame is used to implement per stream flow control in SPDY. 416 // frame is used to implement per stream flow control in SPDY.
417 SpdyWindowUpdateControlFrame* CreateWindowUpdate( 417 SpdyFrame* CreateWindowUpdate(
418 SpdyStreamId stream_id, 418 SpdyStreamId stream_id,
419 uint32 delta_window_size) const; 419 uint32 delta_window_size) const;
420 SpdySerializedFrame* SerializeWindowUpdate( 420 SpdySerializedFrame* SerializeWindowUpdate(
421 const SpdyWindowUpdateIR& window_update) const; 421 const SpdyWindowUpdateIR& window_update) const;
422 422
423 // Creates an instance of SpdyCredentialControlFrame. The CREDENTIAL 423 // Creates an instance of SpdyCredentialControlFrame. The CREDENTIAL
424 // frame is used to send a client certificate to the server when 424 // frame is used to send a client certificate to the server when
425 // request more than one origin are sent over the same SPDY session. 425 // request more than one origin are sent over the same SPDY session.
426 SpdyCredentialControlFrame* CreateCredentialFrame( 426 SpdyCredentialControlFrame* CreateCredentialFrame(
427 const SpdyCredential& credential) const; 427 const SpdyCredential& credential) const;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // starts with HTTP. If it does, we likely have an HTTP response. This 664 // starts with HTTP. If it does, we likely have an HTTP response. This
665 // isn't guaranteed though: we could have gotten a settings frame and then 665 // isn't guaranteed though: we could have gotten a settings frame and then
666 // corrupt data that just looks like HTTP, but deterministic checking requires 666 // corrupt data that just looks like HTTP, but deterministic checking requires
667 // a lot more state. 667 // a lot more state.
668 bool probable_http_response_; 668 bool probable_http_response_;
669 }; 669 };
670 670
671 } // namespace net 671 } // namespace net
672 672
673 #endif // NET_SPDY_SPDY_FRAMER_H_ 673 #endif // NET_SPDY_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « net/spdy/buffered_spdy_framer.cc ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698