summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-26 21:12:20 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-26 21:12:20 +0000
commit775fd9e3215360868781cb7bc615b0b4d782f0a9 (patch)
tree1436421924de756654737312b2dad652315981d1 /net/net.gyp
parent44d178bbf8cf937dc1180da5ccfd27ce9abe3f51 (diff)
downloadchromium_src-775fd9e3215360868781cb7bc615b0b4d782f0a9.zip
chromium_src-775fd9e3215360868781cb7bc615b0b4d782f0a9.tar.gz
chromium_src-775fd9e3215360868781cb7bc615b0b4d782f0a9.tar.bz2
Remove the concept of threading from ProxyService, and move it into the ProxyResolver dependency.
ProxyResolver may now complete requests asynchronously, and is defined to handle multiple requests. The code from ProxyService that queued requests onto the single PAC thread has moved into SingleThreadedProxyResolver. This refactor lays the groundwork for: (1) http://crbug.com/11746 -- Run PAC proxy resolving out of process. (Can inject an IPC bridge implementation of ProxyResolver) (2) http://crbug.com/11079 -- Run PAC proxy resolving on multiple threads. (Can implement a MultithreadedProxyResolver type class; still complications around v8 threadsafety though). BUG=http://crbug.com/11746, http://crbug.com/11079 TEST=existing unit-tests. Review URL: http://codereview.chromium.org/149525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index 4397430..1b8fc96 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -274,6 +274,8 @@
'proxy/proxy_server.h',
'proxy/proxy_service.cc',
'proxy/proxy_service.h',
+ 'proxy/single_threaded_proxy_resolver.cc',
+ 'proxy/single_threaded_proxy_resolver.h',
'socket/client_socket.cc',
'socket/client_socket.h',
'socket/client_socket_factory.cc',
@@ -494,6 +496,7 @@
'proxy/proxy_script_fetcher_unittest.cc',
'proxy/proxy_server_unittest.cc',
'proxy/proxy_service_unittest.cc',
+ 'proxy/single_threaded_proxy_resolver_unittest.cc',
'socket/client_socket_pool_base_unittest.cc',
'socket/socks5_client_socket_unittest.cc',
'socket/socks_client_socket_unittest.cc',