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

Unified Diff: chrome/browser/net/proxy_service_factory.h

Issue 2986623002: Revert of Make ProfileIOData use URLRequestContextBuilder (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/proxy_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/proxy_service_factory.h
diff --git a/chrome/browser/net/proxy_service_factory.h b/chrome/browser/net/proxy_service_factory.h
index 4bc76b7298c0d54dfd54234f4e8cbab73d4d883f..aea984fa81360a5687af68a5f5a75416b26a883a 100644
--- a/chrome/browser/net/proxy_service_factory.h
+++ b/chrome/browser/net/proxy_service_factory.h
@@ -12,8 +12,16 @@
class PrefProxyConfigTracker;
class PrefService;
+namespace base {
+class CommandLine;
+}
+
namespace net {
+class NetLog;
+class NetworkDelegate;
class ProxyConfigService;
+class ProxyService;
+class URLRequestContext;
}
class ProxyServiceFactory {
@@ -37,6 +45,16 @@
static PrefProxyConfigTracker* CreatePrefProxyConfigTrackerOfLocalState(
PrefService* local_state_prefs);
+ // Create a proxy service according to the options on command line.
+ static std::unique_ptr<net::ProxyService> CreateProxyService(
+ net::NetLog* net_log,
+ net::URLRequestContext* context,
+ net::NetworkDelegate* network_delegate,
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service,
+ const base::CommandLine& command_line,
+ bool quick_check_enabled,
+ bool pac_https_url_stripping_enabled);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyServiceFactory);
};
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/proxy_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698