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

Unified Diff: extensions/common/common_manifest_handlers.cc

Issue 565423003: Move extensions manifest tests to run in extensions_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (manifest2) fix deps, android 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/common/common_manifest_handlers.cc
diff --git a/extensions/common/common_manifest_handlers.cc b/extensions/common/common_manifest_handlers.cc
index 1ce16373c5ee67246a00eaab203906082faa2e68..37330ef9583839674e48b111520e404fafad6908 100644
--- a/extensions/common/common_manifest_handlers.cc
+++ b/extensions/common/common_manifest_handlers.cc
@@ -7,6 +7,7 @@
#include "extensions/common/manifest_handler.h"
#include "extensions/common/manifest_handlers/background_info.h"
#include "extensions/common/manifest_handlers/csp_info.h"
+#include "extensions/common/manifest_handlers/externally_connectable.h"
#include "extensions/common/manifest_handlers/file_handler_info.h"
#include "extensions/common/manifest_handlers/icons_handler.h"
#include "extensions/common/manifest_handlers/incognito_info.h"
@@ -23,9 +24,11 @@ namespace extensions {
void RegisterCommonManifestHandlers() {
DCHECK(!ManifestHandler::IsRegistrationFinalized());
+#if defined(ENABLE_EXTENSIONS)
(new BackgroundManifestHandler)->Register();
(new CSPHandler(false))->Register();
(new CSPHandler(true))->Register();
+ (new ExternallyConnectableHandler)->Register();
(new FileHandlersParser)->Register();
(new IconsHandler)->Register();
(new IncognitoHandler)->Register();
@@ -39,6 +42,7 @@ void RegisterCommonManifestHandlers() {
(new SharedModuleHandler)->Register();
(new WebAccessibleResourcesHandler)->Register();
(new WebviewHandler)->Register();
+#endif // defined(ENABLE_EXTENSIONS)
}
} // namespace extensions
« no previous file with comments | « extensions/common/api/_manifest_features.json ('k') | extensions/common/manifest_handlers/externally_connectable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698