| Index: net/http/http_server_properties_impl.h
|
| diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
|
| index b68db36125b6faddcd144174cf926673f2dd2fa9..7b5f2f68986d8457a06f46288a721b4835858dea 100644
|
| --- a/net/http/http_server_properties_impl.h
|
| +++ b/net/http/http_server_properties_impl.h
|
| @@ -30,7 +30,7 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| NON_EXPORTED_BASE(public base::NonThreadSafe) {
|
| public:
|
| HttpServerPropertiesImpl();
|
| - virtual ~HttpServerPropertiesImpl();
|
| + ~HttpServerPropertiesImpl() override;
|
|
|
| // Initializes |spdy_servers_map_| with the servers (host/port) from
|
| // |spdy_servers| that either support SPDY or not.
|
| @@ -69,94 +69,89 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| // -----------------------------
|
|
|
| // Gets a weak pointer for this object.
|
| - virtual base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
|
| + base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
|
|
|
| // Deletes all data.
|
| - virtual void Clear() override;
|
| + void Clear() override;
|
|
|
| // Returns true if |server| supports SPDY.
|
| - virtual bool SupportsSpdy(const HostPortPair& server) override;
|
| + bool SupportsSpdy(const HostPortPair& server) override;
|
|
|
| // Add |server| into the persistent store.
|
| - virtual void SetSupportsSpdy(const HostPortPair& server,
|
| - bool support_spdy) override;
|
| + void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
|
|
|
| // Returns true if |server| has an Alternate-Protocol header.
|
| - virtual bool HasAlternateProtocol(const HostPortPair& server) override;
|
| + bool HasAlternateProtocol(const HostPortPair& server) override;
|
|
|
| // Returns the Alternate-Protocol and port for |server|.
|
| // HasAlternateProtocol(server) must be true.
|
| - virtual AlternateProtocolInfo GetAlternateProtocol(
|
| + AlternateProtocolInfo GetAlternateProtocol(
|
| const HostPortPair& server) override;
|
|
|
| // Sets the Alternate-Protocol for |server|.
|
| - virtual void SetAlternateProtocol(
|
| - const HostPortPair& server,
|
| - uint16 alternate_port,
|
| - AlternateProtocol alternate_protocol,
|
| - double probability) override;
|
| + void SetAlternateProtocol(const HostPortPair& server,
|
| + uint16 alternate_port,
|
| + AlternateProtocol alternate_protocol,
|
| + double probability) override;
|
|
|
| // Sets the Alternate-Protocol for |server| to be BROKEN.
|
| - virtual void SetBrokenAlternateProtocol(const HostPortPair& server) override;
|
| + void SetBrokenAlternateProtocol(const HostPortPair& server) override;
|
|
|
| // Returns true if Alternate-Protocol for |server| was recently BROKEN.
|
| - virtual bool WasAlternateProtocolRecentlyBroken(
|
| - const HostPortPair& server) override;
|
| + bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
|
|
|
| // Confirms that Alternate-Protocol for |server| is working.
|
| - virtual void ConfirmAlternateProtocol(const HostPortPair& server) override;
|
| + void ConfirmAlternateProtocol(const HostPortPair& server) override;
|
|
|
| // Clears the Alternate-Protocol for |server|.
|
| - virtual void ClearAlternateProtocol(const HostPortPair& server) override;
|
| + void ClearAlternateProtocol(const HostPortPair& server) override;
|
|
|
| // Returns all Alternate-Protocol mappings.
|
| - virtual const AlternateProtocolMap& alternate_protocol_map() const override;
|
| + const AlternateProtocolMap& alternate_protocol_map() const override;
|
|
|
| - virtual void SetAlternateProtocolExperiment(
|
| + void SetAlternateProtocolExperiment(
|
| AlternateProtocolExperiment experiment) override;
|
|
|
| - virtual void SetAlternateProtocolProbabilityThreshold(
|
| - double threshold) override;
|
| + void SetAlternateProtocolProbabilityThreshold(double threshold) override;
|
|
|
| - virtual AlternateProtocolExperiment GetAlternateProtocolExperiment()
|
| - const override;
|
| + AlternateProtocolExperiment GetAlternateProtocolExperiment() const override;
|
|
|
| // Gets a reference to the SettingsMap stored for a host.
|
| // If no settings are stored, returns an empty SettingsMap.
|
| - virtual const SettingsMap& GetSpdySettings(
|
| + 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.
|
| - virtual bool SetSpdySetting(const HostPortPair& host_port_pair,
|
| - SpdySettingsIds id,
|
| - SpdySettingsFlags flags,
|
| - uint32 value) override;
|
| + bool SetSpdySetting(const HostPortPair& host_port_pair,
|
| + SpdySettingsIds id,
|
| + SpdySettingsFlags flags,
|
| + uint32 value) override;
|
|
|
| // Clears all entries in |spdy_settings_map_| for a host.
|
| - virtual void ClearSpdySettings(const HostPortPair& host_port_pair) override;
|
| + void ClearSpdySettings(const HostPortPair& host_port_pair) override;
|
|
|
| // Clears all entries in |spdy_settings_map_|.
|
| - virtual void ClearAllSpdySettings() override;
|
| + void ClearAllSpdySettings() override;
|
|
|
| // Returns all persistent SPDY settings.
|
| - virtual const SpdySettingsMap& spdy_settings_map() const override;
|
| + const SpdySettingsMap& spdy_settings_map() const override;
|
|
|
| // Methods for SupportsQuic.
|
| - virtual SupportsQuic GetSupportsQuic(
|
| + SupportsQuic GetSupportsQuic(
|
| const HostPortPair& host_port_pair) const override;
|
|
|
| - virtual void SetSupportsQuic(const HostPortPair& host_port_pair,
|
| - bool used_quic,
|
| - const std::string& address) override;
|
| + void SetSupportsQuic(const HostPortPair& host_port_pair,
|
| + bool used_quic,
|
| + const std::string& address) override;
|
|
|
| - virtual const SupportsQuicMap& supports_quic_map() const override;
|
| + const SupportsQuicMap& supports_quic_map() const override;
|
|
|
| // Methods for NetworkStats.
|
| - virtual void SetServerNetworkStats(const HostPortPair& host_port_pair,
|
| - NetworkStats stats) override;
|
| + void SetServerNetworkStats(const HostPortPair& host_port_pair,
|
| + NetworkStats stats) override;
|
|
|
| - virtual const NetworkStats* GetServerNetworkStats(
|
| + const NetworkStats* GetServerNetworkStats(
|
| const HostPortPair& host_port_pair) const override;
|
|
|
| private:
|
|
|