summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authorsdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 14:37:39 +0000
committersdoyon@chromium.org <sdoyon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 14:37:39 +0000
commit3e44697f8e0749d2acd1d3ee1431a27df2c94e74 (patch)
tree9c47adff10faf24a44a0c85193592b1ac2bdd433 /net/url_request
parent069b2bcaa3e12a0063acae3cdcf2beb16c1077c1 (diff)
downloadchromium_src-3e44697f8e0749d2acd1d3ee1431a27df2c94e74.zip
chromium_src-3e44697f8e0749d2acd1d3ee1431a27df2c94e74.tar.gz
chromium_src-3e44697f8e0749d2acd1d3ee1431a27df2c94e74.tar.bz2
Fix gconf for the linux proxy config service.
-Reenables fetching of settings from gconf. -Moves all gconf access to happen from the UI thread only, (where the default glib main loop runs). -Adds support for gconf notifications, avoiding having to poll the settings. -Fixes a small initialization glitch in the unittest. Plus minor code style tweaks. -Permanently removes gdk and glib threading initialization calls that were previously disabled. -Slight reorganization of ProxyService creation to pass down the IO thread MessageLoop. BUG=11111 TEST=none Review URL: http://codereview.chromium.org/113043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16739 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request_unittest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/url_request_unittest.h b/net/url_request/url_request_unittest.h
index 37e6439..d4e2b82 100644
--- a/net/url_request/url_request_unittest.h
+++ b/net/url_request/url_request_unittest.h
@@ -50,7 +50,7 @@ class TestURLRequestContext : public URLRequestContext {
explicit TestURLRequestContext(const std::string& proxy) {
net::ProxyConfig proxy_config;
proxy_config.proxy_rules.ParseFromString(proxy);
- proxy_service_ = net::ProxyService::Create(&proxy_config);
+ proxy_service_ = net::ProxyService::CreateFixed(proxy_config);
http_transaction_factory_ =
net::HttpNetworkLayer::CreateFactory(proxy_service_);
}