Chromium Code Reviews| 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, |
|
bengr
2014/07/21 22:45:14
I don't think these need to be public.
Not at Google. Contact bengr
2014/07/22 00:12:09
Done.
|
| + // and an empty string otherwise. |
| + // TODO(kundaji): Make this private when it is no longer access from IOThread. |
|
bengr
2014/07/21 22:45:14
accessed
Not at Google. Contact bengr
2014/07/22 00:12:09
Done.
|
| + 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_; |