| Index: net/http/http_server_properties.h
|
| diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
|
| index 718f4c5a4e54dee5b455cd55cd71432423a33350..c2427cdc76c3a5e8e2271c00ec316a9c4aa8cd08 100644
|
| --- a/net/http/http_server_properties.h
|
| +++ b/net/http/http_server_properties.h
|
| @@ -181,6 +181,11 @@ class NET_EXPORT HttpServerProperties {
|
| virtual void SetAlternateProtocolExperiment(
|
| AlternateProtocolExperiment experiment) = 0;
|
|
|
| + // Sets the threshold to be used when evaluating Alternate-Protocol
|
| + // advertisments. Only advertisements with a with a probability
|
| + // greater than |threshold| will be honored. |threshold| must be
|
| + // between 0 and 1 inclusive. Hence, a threshold of 0 implies that
|
| + // all advertisements will be honored.
|
| virtual void SetAlternateProtocolProbabilityThreshold(
|
| double threshold) = 0;
|
|
|
|
|