| Index: chrome/browser/net/http_server_properties_manager.h
|
| diff --git a/chrome/browser/net/http_server_properties_manager.h b/chrome/browser/net/http_server_properties_manager.h
|
| index 71de395dc514cce6c8fa2789d795c25cef890449..21cfba3abfbf95ac0040178466f0ce6a6e44ac53 100644
|
| --- a/chrome/browser/net/http_server_properties_manager.h
|
| +++ b/chrome/browser/net/http_server_properties_manager.h
|
| @@ -100,14 +100,15 @@ class HttpServerPropertiesManager
|
|
|
| // Returns the Alternate-Protocol and port for |server|.
|
| // HasAlternateProtocol(server) must be true.
|
| - virtual net::PortAlternateProtocolPair GetAlternateProtocol(
|
| + virtual net::AlternateProtocolInfo GetAlternateProtocol(
|
| const net::HostPortPair& server) OVERRIDE;
|
|
|
| // Sets the Alternate-Protocol for |server|.
|
| virtual void SetAlternateProtocol(
|
| const net::HostPortPair& server,
|
| uint16 alternate_port,
|
| - net::AlternateProtocol alternate_protocol) OVERRIDE;
|
| + net::AlternateProtocol alternate_protocol,
|
| + double alternate_probability) OVERRIDE;
|
|
|
| // Sets the Alternate-Protocol for |server| to be BROKEN.
|
| virtual void SetBrokenAlternateProtocol(
|
| @@ -131,6 +132,9 @@ class HttpServerPropertiesManager
|
| virtual void SetAlternateProtocolExperiment(
|
| net::AlternateProtocolExperiment experiment) OVERRIDE;
|
|
|
| + virtual void SetAlternateProtocolProbabilityThreshold(
|
| + double threshold) OVERRIDE;
|
| +
|
| virtual net::AlternateProtocolExperiment GetAlternateProtocolExperiment()
|
| const OVERRIDE;
|
|
|
|
|