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. |