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

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

Issue 22159003: DO NOT COMMIT: More hacks to get HTTP/2 working Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for draft 06 Created 7 years, 2 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/spdy_session.cc ('k') | net/spdy/spdy_stream.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_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_STREAM_H_
6 #define NET_SPDY_SPDY_STREAM_H_ 6 #define NET_SPDY_SPDY_STREAM_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // i.e. can we just use the URL this stream was created with and/or 397 // i.e. can we just use the URL this stream was created with and/or
398 // one we receive headers validate that the URL from them is the 398 // one we receive headers validate that the URL from them is the
399 // same. 399 // same.
400 GURL GetUrlFromHeaders() const; 400 GURL GetUrlFromHeaders() const;
401 401
402 // Returns whether the URL for this stream is known. 402 // Returns whether the URL for this stream is known.
403 // 403 //
404 // TODO(akalin): Remove this, as it's only used in tests. 404 // TODO(akalin): Remove this, as it's only used in tests.
405 bool HasUrlFromHeaders() const; 405 bool HasUrlFromHeaders() const;
406 406
407 int GetProtocolVersion() const; 407 SpdyMajorVersion GetProtocolVersion() const;
408 408
409 private: 409 private:
410 class SynStreamBufferProducer; 410 class SynStreamBufferProducer;
411 class HeaderBufferProducer; 411 class HeaderBufferProducer;
412 412
413 enum State { 413 enum State {
414 STATE_NONE, 414 STATE_NONE,
415 STATE_GET_DOMAIN_BOUND_CERT, 415 STATE_GET_DOMAIN_BOUND_CERT,
416 STATE_GET_DOMAIN_BOUND_CERT_COMPLETE, 416 STATE_GET_DOMAIN_BOUND_CERT_COMPLETE,
417 STATE_SEND_DOMAIN_BOUND_CERT, 417 STATE_SEND_DOMAIN_BOUND_CERT,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // When OnFrameWriteComplete() is called, these variables are set. 545 // When OnFrameWriteComplete() is called, these variables are set.
546 SpdyFrameType just_completed_frame_type_; 546 SpdyFrameType just_completed_frame_type_;
547 size_t just_completed_frame_size_; 547 size_t just_completed_frame_size_;
548 548
549 DISALLOW_COPY_AND_ASSIGN(SpdyStream); 549 DISALLOW_COPY_AND_ASSIGN(SpdyStream);
550 }; 550 };
551 551
552 } // namespace net 552 } // namespace net
553 553
554 #endif // NET_SPDY_SPDY_STREAM_H_ 554 #endif // NET_SPDY_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698