summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.h
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 23:13:43 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 23:13:43 +0000
commitd7395e73bc35be3247bdcf5c68fd2fff7497a78c (patch)
tree7bb0daf83b0675100a6b974e2342be68fdf1028e /net/proxy/proxy_service.h
parentf9bcd26a1e7bbe4d4f4bbbc72ba40e59d3be1fbb (diff)
downloadchromium_src-d7395e73bc35be3247bdcf5c68fd2fff7497a78c.zip
chromium_src-d7395e73bc35be3247bdcf5c68fd2fff7497a78c.tar.gz
chromium_src-d7395e73bc35be3247bdcf5c68fd2fff7497a78c.tar.bz2
Linux: get GNOME or KDE proxy settings.
BUG=17363, 20407 TEST=none Review URL: http://codereview.chromium.org/174327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.h')
-rw-r--r--net/proxy/proxy_service.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h
index 0ac3261..cd76453 100644
--- a/net/proxy/proxy_service.h
+++ b/net/proxy/proxy_service.h
@@ -117,8 +117,9 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService> {
// script needs to be fetched.
// |io_loop| points to the IO thread's message loop. It is only used
// when pc is NULL. If both pc and io_loop are NULL, then monitoring
- // of gconf setting changes will be disabled in
- // ProxyConfigServiceLinux.
+ // of proxy setting changes will be disabled in ProxyConfigServiceLinux.
+ // |file_loop| points to the file thread's message loop. It is used
+ // to read any files necessary to get proxy settings.
// ##########################################################################
// # See the warnings in net/proxy/proxy_resolver_v8.h describing the
// # multi-threading model. In order for this to be safe to use, *ALL* the
@@ -128,7 +129,7 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService> {
const ProxyConfig* pc,
bool use_v8_resolver,
URLRequestContext* url_request_context,
- MessageLoop* io_loop);
+ MessageLoop* io_loop, MessageLoop* file_loop);
// Convenience method that creates a proxy service using the
// specified fixed settings. |pc| must not be NULL.
@@ -152,7 +153,7 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService> {
// Creates a config service appropriate for this platform that fetches the
// system proxy settings.
static ProxyConfigService* CreateSystemProxyConfigService(
- MessageLoop* io_loop);
+ MessageLoop* io_loop, MessageLoop* file_loop);
// Creates a proxy resolver appropriate for this platform that doesn't rely
// on V8.