| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|