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

Side by Side Diff: net/spdy/spdy_session.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_protocol.h ('k') | net/spdy/spdy_session.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_SESSION_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_H_
6 #define NET_SPDY_SPDY_SESSION_H_ 6 #define NET_SPDY_SPDY_SESSION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 SpdyCredentialState* credential_state() { return &credential_state_; } 445 SpdyCredentialState* credential_state() { return &credential_state_; }
446 446
447 // Adds |alias| to set of aliases associated with this session. 447 // Adds |alias| to set of aliases associated with this session.
448 void AddPooledAlias(const SpdySessionKey& alias_key); 448 void AddPooledAlias(const SpdySessionKey& alias_key);
449 449
450 // Returns the set of aliases associated with this session. 450 // Returns the set of aliases associated with this session.
451 const std::set<SpdySessionKey>& pooled_aliases() const { 451 const std::set<SpdySessionKey>& pooled_aliases() const {
452 return pooled_aliases_; 452 return pooled_aliases_;
453 } 453 }
454 454
455 int GetProtocolVersion() const; 455 SpdyMajorVersion GetProtocolVersion() const;
456 456
457 size_t GetDataFrameMinimumSize() const { 457 size_t GetDataFrameMinimumSize() const {
458 return buffered_spdy_framer_->GetDataFrameMinimumSize(); 458 return buffered_spdy_framer_->GetDataFrameMinimumSize();
459 } 459 }
460 460
461 size_t GetControlFrameHeaderSize() const { 461 size_t GetControlFrameHeaderSize() const {
462 return buffered_spdy_framer_->GetControlFrameHeaderSize(); 462 return buffered_spdy_framer_->GetControlFrameHeaderSize();
463 } 463 }
464 464
465 size_t GetFrameMinimumSize() const { 465 size_t GetFrameMinimumSize() const {
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // This SPDY proxy is allowed to push resources from origins that are 1128 // This SPDY proxy is allowed to push resources from origins that are
1129 // different from those of their associated streams. 1129 // different from those of their associated streams.
1130 HostPortPair trusted_spdy_proxy_; 1130 HostPortPair trusted_spdy_proxy_;
1131 1131
1132 TimeFunc time_func_; 1132 TimeFunc time_func_;
1133 }; 1133 };
1134 1134
1135 } // namespace net 1135 } // namespace net
1136 1136
1137 #endif // NET_SPDY_SPDY_SESSION_H_ 1137 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698