summaryrefslogtreecommitdiffstats
path: root/net/proxy/sync_host_resolver_bridge_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/sync_host_resolver_bridge_unittest.cc')
-rw-r--r--net/proxy/sync_host_resolver_bridge_unittest.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/proxy/sync_host_resolver_bridge_unittest.cc b/net/proxy/sync_host_resolver_bridge_unittest.cc
index 1a5b1337..95ba446 100644
--- a/net/proxy/sync_host_resolver_bridge_unittest.cc
+++ b/net/proxy/sync_host_resolver_bridge_unittest.cc
@@ -109,13 +109,13 @@ class SyncProxyResolver : public ProxyResolver {
host_resolver_->Shutdown();
}
- private:
- virtual int SetPacScript(const GURL& pac_url,
- const string16& pac_script,
- CompletionCallback* callback) {
+ virtual int SetPacScript(
+ const scoped_refptr<ProxyResolverScriptData>& script_data,
+ CompletionCallback* callback) {
return OK;
}
+ private:
scoped_refptr<SyncHostResolverBridge> host_resolver_;
};
@@ -165,7 +165,8 @@ class IOThread : public base::Thread {
// Initialize the resolver.
TestCompletionCallback callback;
- proxy_resolver_->SetPacScriptByUrl(GURL(), &callback);
+ proxy_resolver_->SetPacScript(ProxyResolverScriptData::FromURL(GURL()),
+ &callback);
EXPECT_EQ(OK, callback.WaitForResult());
// Start an asynchronous request to the proxy resolver