| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h
|
| index 5111ec223fe5ea3555c633d7f152f4dab7a8bfb8..db75fd5cec8ccbdbc78090e109696ee68a69ab79 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h
|
| @@ -42,24 +42,20 @@ class DataReductionProxyBypassProtocol {
|
| // Decides whether to mark the data reduction proxy as temporarily bad and
|
| // put it on the proxy retry map, which is maintained by the ProxyService of
|
| // the URLRequestContext. Returns true if the request should be retried.
|
| // Updates the load flags in |request| for some bypass types, e.g.,
|
| // "block-once". Returns the DataReductionProxyBypassType (if not NULL).
|
| bool MaybeBypassProxyAndPrepareToRetry(
|
| net::URLRequest* request,
|
| DataReductionProxyBypassType* proxy_bypass_type,
|
| DataReductionProxyInfo* data_reduction_proxy_info);
|
|
|
| - // Returns true if the request method is idempotent. Only idempotent requests
|
| - // are retried on a bypass. Visible as part of the public API for testing.
|
| - static bool IsRequestIdempotent(const net::URLRequest* request);
|
| -
|
| private:
|
| // Must outlive |this|.
|
| DataReductionProxyConfig* config_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DataReductionProxyBypassProtocol);
|
| };
|
|
|
| } // namespace data_reduction_proxy
|
|
|
| #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_BYPASS_PROTOCOL_H_
|
|
|