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

Unified Diff: extensions/common/common_manifest_handlers.cc

Issue 101203008: Allow app_shell to run past extension manifest parsing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup register_manifest Created 6 years, 11 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
« no previous file with comments | « extensions/common/common_manifest_handlers.h ('k') | extensions/common/extensions_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « extensions/common/common_manifest_handlers.h ('k') | extensions/common/extensions_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698