Index: extensions/common/common_manifest_handlers.cc |
diff --git a/extensions/common/common_manifest_handlers.cc b/extensions/common/common_manifest_handlers.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..af7b816a1dab51a9e64e233041db609630d0ef68 |
--- /dev/null |
+++ b/extensions/common/common_manifest_handlers.cc |
@@ -0,0 +1,30 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "extensions/common/common_manifest_handlers.h" |
+ |
+#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/incognito_info.h" |
+#include "extensions/common/manifest_handlers/kiosk_mode_info.h" |
+#include "extensions/common/manifest_handlers/offline_enabled_info.h" |
+#include "extensions/common/manifest_handlers/sandboxed_page_info.h" |
+#include "extensions/common/manifest_handlers/shared_module_info.h" |
+ |
+namespace extensions { |
+ |
+void RegisterCommonManifestHandlers() { |
+ DCHECK(!ManifestHandler::IsRegistrationFinalized()); |
+ (new BackgroundManifestHandler)->Register(); |
+ (new CSPHandler(false))->Register(); |
+ (new CSPHandler(true))->Register(); |
+ (new IncognitoHandler)->Register(); |
+ (new KioskModeHandler)->Register(); |
+ (new OfflineEnabledHandler)->Register(); |
+ (new SandboxedPageHandler)->Register(); |
+ (new SharedModuleHandler)->Register(); |
+} |
+ |
+} // namespace extensions |