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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/common/common_manifest_handlers.h ('k') | extensions/common/extensions_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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"
15
16 namespace extensions {
17
18 void RegisterCommonManifestHandlers() {
19 DCHECK(!ManifestHandler::IsRegistrationFinalized());
20 (new BackgroundManifestHandler)->Register();
21 (new CSPHandler(false))->Register();
22 (new CSPHandler(true))->Register();
23 (new IncognitoHandler)->Register();
24 (new KioskModeHandler)->Register();
25 (new OfflineEnabledHandler)->Register();
26 (new SandboxedPageHandler)->Register();
27 (new SharedModuleHandler)->Register();
28 }
29
30 } // namespace extensions
OLDNEW
« 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