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

Unified Diff: chrome/browser/io_thread.h

Issue 778463002: Wrapped data reduction proxy initialization into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@network-delegate
Patch Set: Created 6 years 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/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 0b2106edbfb957f1b6d9e0cd85e640eedc22b7a0..164cef04eb93be05a56a68a55cf497cb6e075414 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -39,9 +39,7 @@ class DnsProbeService;
}
namespace data_reduction_proxy {
-class DataReductionProxyAuthRequestHandler;
-class DataReductionProxyDelegate;
-class DataReductionProxyParams;
+class DataReductionProxyIOData;
}
namespace extensions {
@@ -202,12 +200,8 @@ class IOThread : public content::BrowserThreadDelegate {
// main frame load fails with a DNS error in order to provide more useful
// information to the renderer so it can show a more specific error page.
scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
- scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
- data_reduction_proxy_params;
- scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
- data_reduction_proxy_auth_request_handler;
- scoped_ptr<data_reduction_proxy::DataReductionProxyDelegate>
- data_reduction_proxy_delegate;
+ scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
+ data_reduction_proxy_io_data;
};
// |net_log| must either outlive the IOThread or be NULL.
@@ -318,9 +312,6 @@ class IOThread : public content::BrowserThreadDelegate {
// well as the QUIC field trial group.
void ConfigureQuic(const base::CommandLine& command_line);
- // Set up data reduction proxy related objects on IO thread globals.
- void SetupDataReductionProxy();
-
extensions::EventRouterForwarder* extension_event_router_forwarder() {
#if defined(ENABLE_EXTENSIONS)
return extension_event_router_forwarder_;

Powered by Google App Engine
This is Rietveld 408576698