| Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.h
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
|
| index fbcc394d0358b2bfa1e93a44a4f1be4e452c97c1..075ff6f5a50f0862614f305a6c16f5a3738e0ef8 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h
|
| @@ -178,6 +178,18 @@ class DataReductionProxyParams {
|
| return configured_on_command_line_;
|
| }
|
|
|
| + // Returns the corresponding string from preprocessor constants if defined,
|
| + // and an empty string otherwise.
|
| + // TODO(kundaji): Make this private when it is no longer access from IOThread.
|
| + virtual std::string GetDefaultDevOrigin() const;
|
| + virtual std::string GetDefaultOrigin() const;
|
| + virtual std::string GetDefaultFallbackOrigin() const;
|
| + virtual std::string GetDefaultSSLOrigin() const;
|
| + virtual std::string GetDefaultAltOrigin() const;
|
| + virtual std::string GetDefaultAltFallbackOrigin() const;
|
| + virtual std::string GetDefaultProbeURL() const;
|
| + virtual std::string GetDefaultWarmupURL() const;
|
| +
|
| protected:
|
| // Test constructor that optionally won't call Init();
|
| DataReductionProxyParams(int flags,
|
| @@ -192,17 +204,6 @@ class DataReductionProxyParams {
|
| // line flags and preprocessor constants.
|
| void InitWithoutChecks();
|
|
|
| - // Returns the corresponding string from preprocessor constants if defined,
|
| - // and an empty string otherwise.
|
| - virtual std::string GetDefaultDevOrigin() const;
|
| - virtual std::string GetDefaultOrigin() const;
|
| - virtual std::string GetDefaultFallbackOrigin() const;
|
| - virtual std::string GetDefaultSSLOrigin() const;
|
| - virtual std::string GetDefaultAltOrigin() const;
|
| - virtual std::string GetDefaultAltFallbackOrigin() const;
|
| - virtual std::string GetDefaultProbeURL() const;
|
| - virtual std::string GetDefaultWarmupURL() const;
|
| -
|
| private:
|
| GURL origin_;
|
| GURL fallback_origin_;
|
|
|