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

Unified Diff: extensions/common/common_manifest_handlers.cc

Issue 1158693006: Create a mechanism define declarative rules via the extension manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add thread safety to extensionregistry notifications Created 5 years, 6 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/common/common_manifest_handlers.cc
diff --git a/extensions/common/common_manifest_handlers.cc b/extensions/common/common_manifest_handlers.cc
index 3331a0d50dbfbb18b6837c708d13185ab36924d0..95293215947b248282790b67c3595f6dc9db91c9 100644
--- a/extensions/common/common_manifest_handlers.cc
+++ b/extensions/common/common_manifest_handlers.cc
@@ -5,6 +5,7 @@
#include "extensions/common/common_manifest_handlers.h"
#include "extensions/common/api/bluetooth/bluetooth_manifest_handler.h"
+#include "extensions/common/api/declarative/declarative_manifest_handler.h"
#include "extensions/common/api/printer_provider/usb_printer_manifest_handler.h"
#include "extensions/common/api/sockets/sockets_manifest_handler.h"
#include "extensions/common/manifest_handler.h"
@@ -36,6 +37,7 @@ void RegisterCommonManifestHandlers() {
(new ContentCapabilitiesHandler)->Register();
(new CSPHandler(false))->Register();
(new CSPHandler(true))->Register();
+ (new DeclarativeManifestHandler)->Register();
(new DefaultLocaleHandler)->Register();
(new ExternallyConnectableHandler)->Register();
(new FileHandlersParser)->Register();
« no previous file with comments | « extensions/common/api/declarative/declarative_manifest_unittest.cc ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698