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

Unified Diff: extensions/browser/api/web_request/web_request_api_helpers.h

Issue 566823003: Move declarative_webrequest: action, rules_registry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing another weird re-base error. Created 6 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
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_

Powered by Google App Engine
This is Rietveld 408576698