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

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

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.h
diff --git a/ios/web/shell/shell_network_delegate.h b/ios/web/shell/shell_network_delegate.h
index b15a33e67cb0d426d6ef5db9832ec6a08683d093..0929c15f614a1929ed6e2b8c647ce8407678e5a4 100644
--- a/ios/web/shell/shell_network_delegate.h
+++ b/ios/web/shell/shell_network_delegate.h
@@ -34,8 +34,10 @@ class ShellNetworkDelegate : public net::NetworkDelegateImpl {
GURL* allowed_unsafe_redirect_url) override;
void OnBeforeRedirect(net::URLRequest* request,
const GURL& new_location) override;
- void OnResponseStarted(net::URLRequest* request) override;
- void OnCompleted(net::URLRequest* request, bool started) override;
+ void OnResponseStarted(net::URLRequest* request, int net_error) override;
+ void OnCompleted(net::URLRequest* request,
+ bool started,
+ int net_error) override;
void OnURLRequestDestroyed(net::URLRequest* request) override;
void OnPACScriptError(int line_number, const base::string16& error) override;
AuthRequiredResponse OnAuthRequired(

Powered by Google App Engine
This is Rietveld 408576698