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

Unified Diff: net/http/http_server_properties_manager.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index 5be571f344a47bab77e6eef489cd763e4f10407c..00e5a13e63f303ace7f2514c0b15c0ee1dbd581f 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -78,98 +78,46 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// HttpServerProperties methods:
// ----------------------------------
- // Gets a weak pointer for this object.
base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
-
- // Deletes all data. Works asynchronously.
void Clear() override;
-
- // Returns true if |server| supports SPDY. Should only be called from IO
- // thread.
- bool SupportsSpdy(const HostPortPair& server) override;
-
- // Add |server| as the SPDY server which supports SPDY protocol into the
- // persisitent store. Should only be called from IO thread.
+ bool SupportsRequestPriority(const HostPortPair& server) override;
void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
-
- // Returns true if |server| has required HTTP/1.1 via HTTP/2 error code.
bool RequiresHTTP11(const HostPortPair& server) override;
-
- // Require HTTP/1.1 on subsequent connections. Not persisted.
void SetHTTP11Required(const HostPortPair& server) override;
-
- // Modify SSLConfig to force HTTP/1.1 if necessary.
void MaybeForceHTTP11(const HostPortPair& server,
SSLConfig* ssl_config) override;
-
- // Returns true if |server| has an Alternate-Protocol header.
bool HasAlternateProtocol(const HostPortPair& server) override;
-
- // Returns the Alternate-Protocol and port for |server|.
- // HasAlternateProtocol(server) must be true.
AlternateProtocolInfo GetAlternateProtocol(
const HostPortPair& server) override;
-
- // Sets the Alternate-Protocol for |server|.
void SetAlternateProtocol(const HostPortPair& server,
uint16 alternate_port,
AlternateProtocol alternate_protocol,
double alternate_probability) override;
-
- // Sets the Alternate-Protocol for |server| to be BROKEN.
void SetBrokenAlternateProtocol(const HostPortPair& server) override;
-
- // Returns true if Alternate-Protocol for |server| was recently BROKEN.
bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
-
- // Confirms that Alternate-Protocol for |server| is working.
void ConfirmAlternateProtocol(const HostPortPair& server) override;
-
- // Clears the Alternate-Protocol for |server|.
void ClearAlternateProtocol(const HostPortPair& server) override;
-
- // Returns all Alternate-Protocol mappings.
const AlternateProtocolMap& alternate_protocol_map() const override;
-
void SetAlternateProtocolProbabilityThreshold(double threshold) override;
-
- // Gets a reference to the SettingsMap stored for a host.
- // If no settings are stored, returns an empty SettingsMap.
const SettingsMap& GetSpdySettings(
const HostPortPair& host_port_pair) override;
-
- // Saves an individual SPDY setting for a host. Returns true if SPDY setting
- // is to be persisted.
bool SetSpdySetting(const HostPortPair& host_port_pair,
SpdySettingsIds id,
SpdySettingsFlags flags,
uint32 value) override;
-
- // Clears all SPDY settings for a host.
void ClearSpdySettings(const HostPortPair& host_port_pair) override;
-
- // Clears all SPDY settings for all hosts.
void ClearAllSpdySettings() override;
-
- // Returns all SPDY persistent settings.
const SpdySettingsMap& spdy_settings_map() const override;
-
- // Methods for SupportsQuic.
SupportsQuic GetSupportsQuic(
const HostPortPair& host_port_pair) const override;
-
void SetSupportsQuic(const HostPortPair& host_port_pair,
bool used_quic,
const std::string& address) override;
-
const SupportsQuicMap& supports_quic_map() const override;
-
void SetServerNetworkStats(const HostPortPair& host_port_pair,
ServerNetworkStats stats) override;
-
const ServerNetworkStats* GetServerNetworkStats(
const HostPortPair& host_port_pair) override;
-
const ServerNetworkStatsMap& server_network_stats_map() const override;
protected:
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698