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

Unified Diff: components/cronet/android/url_request_context_adapter.cc

Issue 2261103002: Use modified URLRequest::Read() and delegate methods in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: comments Created 4 years, 3 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
Index: components/cronet/android/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 538050e31042dd45b4c67c6283a41416cf36fff9..a46f561317b91fc328818426cb708cb67b43a03b 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -79,9 +79,11 @@ class BasicNetworkDelegate : public net::NetworkDelegateImpl {
void OnBeforeRedirect(net::URLRequest* request,
const GURL& new_location) override {}
- void OnResponseStarted(net::URLRequest* request) override {}
+ void OnResponseStarted(net::URLRequest* request, int net_error) override {}
- void OnCompleted(net::URLRequest* request, bool started) override {}
+ void OnCompleted(net::URLRequest* request,
+ bool started,
+ int net_error) override {}
void OnURLRequestDestroyed(net::URLRequest* request) override {}

Powered by Google App Engine
This is Rietveld 408576698