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

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: addressed mmenke, rebased Created 5 years, 11 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/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index d487b50d708712657ed266a765901b9e9b5df0f7..3eda8db5c65355367aa9028bc1438dc601a6b4f5 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;
sclittle 2015/01/14 22:54:46 nit: remove, since it's not used in this file
bengr 2015/01/15 00:30:31 Done.
}
namespace extensions {
@@ -205,12 +203,6 @@ 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;
};
// |net_log| must either outlive the IOThread or be NULL.
@@ -321,9 +313,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