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

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

Issue 291093002: Fail the SPDY transaction if it does not meet TLS base requirements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address forgotten comment. Created 6 years, 7 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_network_transaction_unittest.cc ('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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 } 462 }
463 463
464 size_t GetFrameMaximumSize() const { 464 size_t GetFrameMaximumSize() const {
465 return buffered_spdy_framer_->GetFrameMaximumSize(); 465 return buffered_spdy_framer_->GetFrameMaximumSize();
466 } 466 }
467 467
468 size_t GetDataFrameMaximumPayload() const { 468 size_t GetDataFrameMaximumPayload() const {
469 return buffered_spdy_framer_->GetDataFrameMaximumPayload(); 469 return buffered_spdy_framer_->GetDataFrameMaximumPayload();
470 } 470 }
471 471
472 // https://http2.github.io/http2-spec/#TLSUsage mandates minimum security
473 // standards for TLS.
474 bool HasAcceptableTransportSecurity() const;
475
472 // Must be used only by |pool_|. 476 // Must be used only by |pool_|.
473 base::WeakPtr<SpdySession> GetWeakPtr(); 477 base::WeakPtr<SpdySession> GetWeakPtr();
474 478
475 // HigherLayeredPool implementation: 479 // HigherLayeredPool implementation:
476 virtual bool CloseOneIdleConnection() OVERRIDE; 480 virtual bool CloseOneIdleConnection() OVERRIDE;
477 481
478 private: 482 private:
479 friend class base::RefCounted<SpdySession>; 483 friend class base::RefCounted<SpdySession>;
480 friend class SpdyStreamRequest; 484 friend class SpdyStreamRequest;
481 friend class SpdySessionTest; 485 friend class SpdySessionTest;
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 // This SPDY proxy is allowed to push resources from origins that are 1130 // This SPDY proxy is allowed to push resources from origins that are
1127 // different from those of their associated streams. 1131 // different from those of their associated streams.
1128 HostPortPair trusted_spdy_proxy_; 1132 HostPortPair trusted_spdy_proxy_;
1129 1133
1130 TimeFunc time_func_; 1134 TimeFunc time_func_;
1131 }; 1135 };
1132 1136
1133 } // namespace net 1137 } // namespace net
1134 1138
1135 #endif // NET_SPDY_SPDY_SESSION_H_ 1139 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698