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

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

Issue 25956002: [SPDY] Remove references to obsolete SPDY versions SPDY/1 and SPDY/2.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test 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_pool.cc ('k') | net/spdy/spdy_test_util_common.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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // Returns whether or not this stream is closed. Note that the only 376 // Returns whether or not this stream is closed. Note that the only
377 // time a stream is closed and not deleted is in its delegate's 377 // time a stream is closed and not deleted is in its delegate's
378 // OnClose() method. 378 // OnClose() method.
379 bool IsClosed() const; 379 bool IsClosed() const;
380 380
381 // Returns whether or not this stream has finished sending its 381 // Returns whether or not this stream has finished sending its
382 // request headers and is ready to send/receive more data. 382 // request headers and is ready to send/receive more data.
383 bool IsIdle() const; 383 bool IsIdle() const;
384 384
385 // Returns the protocol used by this stream. Always between 385 // Returns the protocol used by this stream. Always between
386 // kProtoSPDY2 and kProtoSPDYMaximumVersion. 386 // kProtoSPDYMinimumVersion and kProtoSPDYMaximumVersion.
387 //
388 // TODO(akalin): Change the lower bound to kProtoSPDYMinimumVersion
389 // once we stop supporting SPDY/1.
390 NextProto GetProtocol() const; 387 NextProto GetProtocol() const;
391 388
392 int response_status() const { return response_status_; } 389 int response_status() const { return response_status_; }
393 390
394 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const; 391 bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const;
395 392
396 // Get the URL from the appropriate stream headers, or the empty 393 // Get the URL from the appropriate stream headers, or the empty
397 // GURL() if it is unknown. 394 // GURL() if it is unknown.
398 // 395 //
399 // TODO(akalin): Figure out if we really need this function, 396 // TODO(akalin): Figure out if we really need this function,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 // When OnFrameWriteComplete() is called, these variables are set. 545 // When OnFrameWriteComplete() is called, these variables are set.
549 SpdyFrameType just_completed_frame_type_; 546 SpdyFrameType just_completed_frame_type_;
550 size_t just_completed_frame_size_; 547 size_t just_completed_frame_size_;
551 548
552 DISALLOW_COPY_AND_ASSIGN(SpdyStream); 549 DISALLOW_COPY_AND_ASSIGN(SpdyStream);
553 }; 550 };
554 551
555 } // namespace net 552 } // namespace net
556 553
557 #endif // NET_SPDY_SPDY_STREAM_H_ 554 #endif // NET_SPDY_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698