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

Unified Diff: net/proxy/proxy_service.cc

Issue 2944313003: Remove the dependence on BrowserThread::FILE for (Closed)
Patch Set: address mmenke's comments Created 3 years, 6 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 | « net/proxy/proxy_service.h ('k') | net/tools/net_watcher/net_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_service.cc
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index c2d0a45b65201dbc9128741231bccb7b47455779..66873eefa1d2d9ac391b1f2b44d76441bc2b02fc 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -1523,8 +1523,7 @@ void ProxyService::ForceReloadProxyConfig() {
// static
std::unique_ptr<ProxyConfigService>
ProxyService::CreateSystemProxyConfigService(
- const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner,
- const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner) {
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner) {
#if defined(OS_WIN)
return base::MakeUnique<ProxyConfigServiceWin>();
#elif defined(OS_IOS)
@@ -1548,10 +1547,10 @@ ProxyService::CreateSystemProxyConfigService(
// Synchronously fetch the current proxy config (since we are running on
// glib_default_loop). Additionally register for notifications (delivered in
- // either |glib_default_loop| or |file_task_runner|) to keep us updated when
- // the proxy config changes.
- linux_config_service->SetupAndFetchInitialConfig(
- glib_thread_task_runner, io_task_runner, file_task_runner);
+ // either |glib_default_loop| or an internal sequenced task runner) to
+ // keep us updated when the proxy config changes.
+ linux_config_service->SetupAndFetchInitialConfig(glib_thread_task_runner,
+ io_task_runner);
return std::move(linux_config_service);
#elif defined(OS_ANDROID)
« no previous file with comments | « net/proxy/proxy_service.h ('k') | net/tools/net_watcher/net_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698