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

Unified Diff: net/quic/core/quic_server_session_base.h

Issue 2350173005: QUIC enable server push by default. Guarded by FLAGS_quic_enable_server_push_by_default. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_server_session_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_server_session_base.h
diff --git a/net/quic/core/quic_server_session_base.h b/net/quic/core/quic_server_session_base.h
index 8a09fdeb91c78672b1ee5278b9cfd950c3e19fa8..a7bf3749a8070989289acf98f8ade0f5a8f08397 100644
--- a/net/quic/core/quic_server_session_base.h
+++ b/net/quic/core/quic_server_session_base.h
@@ -95,8 +95,6 @@ class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession {
serving_region_ = serving_region;
}
- bool server_push_enabled() const { return server_push_enabled_; }
-
protected:
// QuicSession methods(override them with return type of QuicSpdyStream*):
QuicCryptoServerStreamBase* GetCryptoStream() override;
@@ -118,8 +116,6 @@ class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession {
const QuicCryptoServerConfig* crypto_config() { return crypto_config_; }
- void set_server_push_enabled(bool enable) { server_push_enabled_ = enable; }
-
Visitor* visitor() { return visitor_; }
QuicCryptoServerStream::Helper* stream_helper() { return helper_; }
@@ -163,10 +159,6 @@ class NET_EXPORT_PRIVATE QuicServerSessionBase : public QuicSpdySession {
int32_t BandwidthToCachedParameterBytesPerSecond(
const QuicBandwidth& bandwidth);
- // Set during handshake. If true, resources in x-associated-content and link
- // headers will be pushed. see: go/gfe_server_push.
- bool server_push_enabled_;
-
DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase);
};
« no previous file with comments | « net/quic/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_server_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698