Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.h |
| diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h |
| index ffd1d79f23448872952455a3cb909d8cf6ad2fa4..324bf06d2aca8f84d8051f84cb19bd5eb2d3f48e 100644 |
| --- a/chrome/browser/profiles/profile_io_data.h |
| +++ b/chrome/browser/profiles/profile_io_data.h |
| @@ -22,6 +22,7 @@ |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/profiles/storage_partition_descriptor.h" |
| #include "chrome/common/content_settings_types.h" |
| +#include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.h" |
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h" |
| #include "content/public/browser/content_browser_client.h" |
| #include "content/public/browser/resource_context.h" |
| @@ -341,14 +342,16 @@ class ProfileIOData { |
| void InitializeOnUIThread(Profile* profile); |
| void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; |
| -#if defined(OS_ANDROID) |
| -#if defined(SPDY_PROXY_AUTH_ORIGIN) |
| - void SetDataReductionProxyUsageStatsOnIOThread(IOThread* io_thread, |
| - Profile* profile); |
| - void SetDataReductionProxyUsageStatsOnUIThread(Profile* profile, |
| + // Setup data reduction proxy for the given |profile| with |params| and |
| + // |usage_stats| from |IOThread::Globals| on |IOThread|. |
|
Ryan Sleevi
2014/07/22 01:56:31
1) Only use || around variables. Not class names.
Not at Google. Contact bengr
2014/07/22 23:03:53
Done.
|
| + void SetupDataReductionProxyOnIOThread(IOThread* io_thread, |
| + Profile* profile); |
| + |
| + // Setup data reduction proxy for the given |profile|, |params|, and |
| + // |usage_stats| on |UIThread|. |
| + void SetupDataReductionProxyOnUIThread(Profile* profile, |
| + data_reduction_proxy::DataReductionProxyParams* params, |
| data_reduction_proxy::DataReductionProxyUsageStats* usage_stats); |
|
Ryan Sleevi
2014/07/22 01:56:31
1) Reformat this. Your style is non-compliant. "gi
Not at Google. Contact bengr
2014/07/22 23:03:53
Done.
|
| -#endif |
| -#endif |
| scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults( |
| scoped_ptr<net::URLRequestJobFactoryImpl> job_factory, |