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

Unified Diff: ios/web/shell/shell_network_delegate.cc

Issue 2262063002: Adjust callers and networking delegates in ios/ to modified APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: typo 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: ios/web/shell/shell_network_delegate.cc
diff --git a/ios/web/shell/shell_network_delegate.cc b/ios/web/shell/shell_network_delegate.cc
index 04116d401cf79716ab895426e284f258afec3e45..421aa76c48d0815e3504c03936c0f2f40d1e9ae0 100644
--- a/ios/web/shell/shell_network_delegate.cc
+++ b/ios/web/shell/shell_network_delegate.cc
@@ -45,11 +45,12 @@ void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request,
const GURL& new_location) {
}
-void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) {
-}
+void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request,
+ int net_error) {}
-void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) {
-}
+void ShellNetworkDelegate::OnCompleted(net::URLRequest* request,
+ bool started,
+ int net_error) {}
void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) {
}

Powered by Google App Engine
This is Rietveld 408576698