summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-02 21:07:12 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-02 21:07:12 +0000
commit90ae1fb15d69378587f608f1bce437956b845a12 (patch)
tree7db5220f440e7b425cc67c2304b860494c1da72a /net/proxy/proxy_service.cc
parentd5726c5273e71ae842c1d7136821210f2f691592 (diff)
downloadchromium_src-90ae1fb15d69378587f608f1bce437956b845a12.zip
chromium_src-90ae1fb15d69378587f608f1bce437956b845a12.tar.gz
chromium_src-90ae1fb15d69378587f608f1bce437956b845a12.tar.bz2
Rename ProxyResolverV8::JSBindings --> ProxyResolverJSBindings.
(Since it isn't really V8-specific, and could be re-used for impelmentations using a different JS engine). Review URL: http://codereview.chromium.org/159773 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r--net/proxy/proxy_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index c79b46a..cdf269c 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -23,6 +23,7 @@
#include "net/proxy/proxy_config_service_linux.h"
#endif
#include "net/proxy/proxy_resolver.h"
+#include "net/proxy/proxy_resolver_js_bindings.h"
#include "net/proxy/proxy_resolver_v8.h"
#include "net/proxy/single_threaded_proxy_resolver.h"
#include "net/url_request/url_request_context.h"
@@ -210,8 +211,8 @@ ProxyService* ProxyService::Create(
if (use_v8_resolver) {
// Send javascript errors and alerts to LOG(INFO).
HostResolver* host_resolver = url_request_context->host_resolver();
- ProxyResolverV8::JSBindings* js_bindings =
- ProxyResolverV8::CreateDefaultBindings(host_resolver, io_loop);
+ ProxyResolverJSBindings* js_bindings =
+ ProxyResolverJSBindings::CreateDefault(host_resolver, io_loop);
proxy_resolver = new ProxyResolverV8(js_bindings);
} else {