summaryrefslogtreecommitdiffstats
path: root/net/http
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/http
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/http')
-rw-r--r--net/http/http_network_transaction_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 3d5fb44..627914e 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -347,7 +347,7 @@ ProxyService* CreateNullProxyService() {
ProxyService* CreateFixedProxyService(const std::string& proxy) {
net::ProxyConfig proxy_config;
proxy_config.proxy_rules.ParseFromString(proxy);
- return ProxyService::Create(&proxy_config);
+ return ProxyService::CreateFixed(proxy_config);
}