blob: 2dc14f2598c1edcf32a6a90fc5e0d1695a152c96 [file] [log] [blame]
[email protected]08b71392014-01-07 18:52:091// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "extensions/common/common_manifest_handlers.h"
6
7#include "extensions/common/manifest_handler.h"
8#include "extensions/common/manifest_handlers/background_info.h"
9#include "extensions/common/manifest_handlers/csp_info.h"
10#include "extensions/common/manifest_handlers/incognito_info.h"
11#include "extensions/common/manifest_handlers/kiosk_mode_info.h"
12#include "extensions/common/manifest_handlers/offline_enabled_info.h"
13#include "extensions/common/manifest_handlers/sandboxed_page_info.h"
14#include "extensions/common/manifest_handlers/shared_module_info.h"
[email protected]474b1f72014-01-16 02:38:0715#include "extensions/common/manifest_handlers/web_accessible_resources_info.h"
16#include "extensions/common/manifest_handlers/webview_info.h"
[email protected]08b71392014-01-07 18:52:0917
18namespace extensions {
19
20void RegisterCommonManifestHandlers() {
21 DCHECK(!ManifestHandler::IsRegistrationFinalized());
22 (new BackgroundManifestHandler)->Register();
23 (new CSPHandler(false))->Register();
24 (new CSPHandler(true))->Register();
25 (new IncognitoHandler)->Register();
26 (new KioskModeHandler)->Register();
27 (new OfflineEnabledHandler)->Register();
28 (new SandboxedPageHandler)->Register();
29 (new SharedModuleHandler)->Register();
[email protected]474b1f72014-01-16 02:38:0730 (new WebAccessibleResourcesHandler)->Register();
31 (new WebviewHandler)->Register();
[email protected]08b71392014-01-07 18:52:0932}
33
34} // namespace extensions