diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 02:15:31 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 02:15:31 +0000 |
commit | 2357868189633f0e115648d744522b6063d2c440 (patch) | |
tree | 804b8784c016f8f03820cfd7d4deb3fdb76b0893 /net/proxy/proxy_resolver_v8.cc | |
parent | 05769e3c62f9371a8aef06c810ac6767b410241d (diff) | |
download | chromium_src-2357868189633f0e115648d744522b6063d2c440.zip chromium_src-2357868189633f0e115648d744522b6063d2c440.tar.gz chromium_src-2357868189633f0e115648d744522b6063d2c440.tar.bz2 |
base::Bind: Convert net/proxy.
BUG=none
TEST=none
R=csilv
Review URL: http://codereview.chromium.org/8985012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115068 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_resolver_v8.cc')
-rw-r--r-- | net/proxy/proxy_resolver_v8.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/proxy/proxy_resolver_v8.cc b/net/proxy/proxy_resolver_v8.cc index 9df6e59..92beb80 100644 --- a/net/proxy/proxy_resolver_v8.cc +++ b/net/proxy/proxy_resolver_v8.cc @@ -728,11 +728,11 @@ ProxyResolverV8::ProxyResolverV8( ProxyResolverV8::~ProxyResolverV8() {} -int ProxyResolverV8::GetProxyForURL(const GURL& query_url, - ProxyInfo* results, - OldCompletionCallback* /*callback*/, - RequestHandle* /*request*/, - const BoundNetLog& net_log) { +int ProxyResolverV8::GetProxyForURL( + const GURL& query_url, ProxyInfo* results, + const CompletionCallback& /*callback*/, + RequestHandle* /*request*/, + const BoundNetLog& net_log) { // If the V8 instance has not been initialized (either because // SetPacScript() wasn't called yet, or because it failed. if (!context_.get()) @@ -789,7 +789,7 @@ void ProxyResolverV8::Shutdown() { int ProxyResolverV8::SetPacScript( const scoped_refptr<ProxyResolverScriptData>& script_data, - OldCompletionCallback* /*callback*/) { + const CompletionCallback& /*callback*/) { DCHECK(script_data.get()); context_.reset(); if (script_data->utf16().empty()) |