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

Unified Diff: net/proxy/network_delegate_error_observer_unittest.cc

Issue 8743019: base::Bind: Convert net::NetworkDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years, 1 month 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/base/network_delegate.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/network_delegate_error_observer_unittest.cc
diff --git a/net/proxy/network_delegate_error_observer_unittest.cc b/net/proxy/network_delegate_error_observer_unittest.cc
index 56e23828f95ffc50a6e834f8d6adff36c4c84673..d41dbc0d116f03c41d1816cfb3d3a83d042b69ac 100644
--- a/net/proxy/network_delegate_error_observer_unittest.cc
+++ b/net/proxy/network_delegate_error_observer_unittest.cc
@@ -24,14 +24,14 @@ class TestNetworkDelegate : public net::NetworkDelegate {
bool got_pac_error() const { return got_pac_error_; }
private:
- // net::NetworkDelegate:
+ // net::NetworkDelegate implementation.
virtual int OnBeforeURLRequest(URLRequest* request,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
GURL* new_url) OVERRIDE {
return OK;
}
virtual int OnBeforeSendHeaders(URLRequest* request,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
HttpRequestHeaders* headers) OVERRIDE {
return OK;
}
@@ -39,7 +39,7 @@ class TestNetworkDelegate : public net::NetworkDelegate {
const HttpRequestHeaders& headers) OVERRIDE {}
virtual int OnHeadersReceived(
URLRequest* request,
- OldCompletionCallback* callback,
+ const CompletionCallback& callback,
HttpResponseHeaders* original_response_headers,
scoped_refptr<HttpResponseHeaders>* override_response_headers) OVERRIDE {
return net::OK;
« no previous file with comments | « net/base/network_delegate.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698