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

Unified Diff: extensions/browser/api/web_request/web_request_api.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
« no previous file with comments | « no previous file | extensions/browser/api/web_request/web_request_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/web_request/web_request_api.h
diff --git a/extensions/browser/api/web_request/web_request_api.h b/extensions/browser/api/web_request/web_request_api.h
index 3332d9273735272cd7cd0eca02fde168ba504ec5..796d75fe914c714f50405204f8ff54a4af462949 100644
--- a/extensions/browser/api/web_request/web_request_api.h
+++ b/extensions/browser/api/web_request/web_request_api.h
@@ -233,17 +233,36 @@ class ExtensionWebRequestEventRouter
// the response have arrived.
void OnResponseStarted(void* browser_context,
const extensions::InfoMap* extension_info_map,
+ net::URLRequest* request,
+ int net_error);
+ // Deprecated.
+ // TODO(maksims): Remove this.
+ void OnResponseStarted(void* browser_context,
+ const extensions::InfoMap* extension_info_map,
net::URLRequest* request);
mmenke 2016/09/06 17:21:50 Why are we keeping both the old and new versions a
// Dispatches the onComplete event.
void OnCompleted(void* browser_context,
const extensions::InfoMap* extension_info_map,
+ net::URLRequest* request,
+ int net_error);
+ // Deprecated.
+ // TODO(maksims): Remove this.
+ void OnCompleted(void* browser_context,
+ const extensions::InfoMap* extension_info_map,
net::URLRequest* request);
// Dispatches an onErrorOccurred event.
void OnErrorOccurred(void* browser_context,
const extensions::InfoMap* extension_info_map,
net::URLRequest* request,
+ bool started,
+ int net_error);
+ // Deprecated.
+ // TODO(maksims): Remove this.
+ void OnErrorOccurred(void* browser_context,
+ const extensions::InfoMap* extension_info_map,
+ net::URLRequest* request,
bool started);
// Notifications when objects are going away.
« no previous file with comments | « no previous file | extensions/browser/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698