Index: chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
diff --git a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h b/chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
index 98796578f164bfec90df1bf9902d3a27c4f61569..eada375fead8263108333efbdc43bb04e5515b1e 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
+++ b/chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
@@ -28,6 +28,11 @@ class ListValue; |
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 @@ bool MergeOnAuthRequiredResponses( |
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. |