Index: chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
=================================================================== |
--- chrome/browser/extensions/api/web_request/web_request_api_helpers.h (revision 145135) |
+++ chrome/browser/extensions/api/web_request/web_request_api_helpers.h (working copy) |
@@ -28,6 +28,11 @@ |
class Value; |
} |
+namespace net { |
+class BoundNetLog; |
+class URLRequest; |
+} |
+ |
namespace extension_web_request_api_helpers { |
typedef std::pair<std::string, std::string> ResponseHeader; |
@@ -179,8 +184,8 @@ |
std::set<std::string>* conflicting_extensions, |
EventLogEntries* event_log_entries); |
-// Returns true if requests for |url| shall not be reported to extensions. |
-bool HideRequestForURL(const GURL& url); |
+// Returns true if the request shall not be reported to extensions. |
+bool HideRequest(net::URLRequest* request); |
// Returns whether |type| is a ResourceType that is handled by the web request |
// API. |