Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3119)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 449973002: Use data reduction proxy when managed proxy config returns direct (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-uma-in-proxy-service
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index 3a6f529e12e4f66849261f4d216fa4e017164610..979ebbe7677746947e6d526b7cb531532ab8dcb7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -39,6 +39,7 @@ class FtpTransactionFactory;
class HttpServerProperties;
class HttpServerPropertiesManager;
class HttpTransactionFactory;
+class ProxyConfig;
class SDCHManager;
} // namespace net
@@ -72,6 +73,8 @@ class ProfileImplIOData : public ProfileIOData {
domain_reliability_monitor,
const base::Callback<void(bool)>&
data_reduction_proxy_unavailable,
+ const base::Callback<void(net::ProxyConfig*)>&
+ proxy_config_getter,
scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
data_reduction_proxy_params);
@@ -249,6 +252,7 @@ class ProfileImplIOData : public ProfileIOData {
mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats>
data_reduction_proxy_usage_stats_;
mutable base::Callback<void(bool)> data_reduction_proxy_unavailable_callback_;
+ mutable base::Callback<void(net::ProxyConfig*)> proxy_config_getter_;
mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
data_reduction_proxy_auth_request_handler_;
#endif // defined(SPDY_PROXY_AUTH_ORIGIN)

Powered by Google App Engine
This is Rietveld 408576698