Index: extensions/browser/api/web_request/web_request_api_helpers.h |
diff --git a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h b/extensions/browser/api/web_request/web_request_api_helpers.h |
similarity index 96% |
rename from chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
rename to extensions/browser/api/web_request/web_request_api_helpers.h |
index b5a25771f6e01d66fef932e4a931b0f516838de0..77129466b93a7a6a2d13564c43ab5db1c595b431 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_api_helpers.h |
+++ b/extensions/browser/api/web_request/web_request_api_helpers.h |
@@ -4,8 +4,8 @@ |
// Helper classes and functions used for the WebRequest API. |
-#ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |
-#define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |
+#ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |
+#define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |
#include <list> |
#include <set> |
@@ -26,6 +26,10 @@ class ListValue; |
class Value; |
} |
+namespace content { |
+class RenderProcessHost; |
+} |
+ |
namespace extensions { |
class Extension; |
} |
@@ -312,6 +316,10 @@ void NotifyWebRequestAPIUsed( |
void* browser_context_id, |
scoped_refptr<const extensions::Extension> extension); |
+// Send updates to |host| with information about what webRequest-related |
+// extensions are installed. |
+void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host); |
+ |
} // namespace extension_web_request_api_helpers |
-#endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |
+#endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_HELPERS_H_ |