Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1512)

Unified Diff: net/proxy/multi_threaded_proxy_resolver_unittest.cc

Issue 1157163003: Remove ProxyResolver::(Cancel)SetPacScript and LegacyProxyResolverFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-proxy-resolver-refactor
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver.cc ('k') | net/proxy/proxy_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/multi_threaded_proxy_resolver_unittest.cc
diff --git a/net/proxy/multi_threaded_proxy_resolver_unittest.cc b/net/proxy/multi_threaded_proxy_resolver_unittest.cc
index 0c22a9c039c1571c7b27389f251ef4b22a409e92..dd30370a33afc2daf829412a90343ef7af91bc82 100644
--- a/net/proxy/multi_threaded_proxy_resolver_unittest.cc
+++ b/net/proxy/multi_threaded_proxy_resolver_unittest.cc
@@ -39,9 +39,7 @@ namespace {
class MockProxyResolver : public ProxyResolver {
public:
MockProxyResolver()
- : ProxyResolver(true /*expects_pac_bytes*/),
- worker_loop_(base::MessageLoop::current()),
- request_count_(0) {}
+ : worker_loop_(base::MessageLoop::current()), request_count_(0) {}
// ProxyResolver implementation.
int GetProxyForURL(const GURL& query_url,
@@ -73,13 +71,6 @@ class MockProxyResolver : public ProxyResolver {
return LOAD_STATE_IDLE;
}
- void CancelSetPacScript() override { NOTREACHED(); }
- int SetPacScript(const scoped_refptr<ProxyResolverScriptData>& script_data,
- const CompletionCallback& callback) override {
- NOTREACHED();
- return ERR_NOT_IMPLEMENTED;
- }
-
int request_count() const { return request_count_; }
void SetResolveLatency(base::TimeDelta latency) {
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver.cc ('k') | net/proxy/proxy_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698