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

Unified Diff: extensions/shell/browser/shell_network_delegate.h

Issue 2264973002: Adjust callers and networking delegates in extensions/ to modified APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: 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: extensions/shell/browser/shell_network_delegate.h
diff --git a/extensions/shell/browser/shell_network_delegate.h b/extensions/shell/browser/shell_network_delegate.h
index 5c775f528506c536f83be26bb8922ea284c3669b..fc43d829329df77419549e55ff5a1c2619ba239e 100644
--- a/extensions/shell/browser/shell_network_delegate.h
+++ b/extensions/shell/browser/shell_network_delegate.h
@@ -38,8 +38,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;
net::NetworkDelegate::AuthRequiredResponse OnAuthRequired(

Powered by Google App Engine
This is Rietveld 408576698