OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/extensions/chrome_manifest_handlers.h" | 5 #include "chrome/common/extensions/chrome_manifest_handlers.h" |
6 | 6 |
| 7 #include "chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h" |
7 #include "chrome/common/extensions/api/commands/commands_handler.h" | 8 #include "chrome/common/extensions/api/commands/commands_handler.h" |
8 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" | 9 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" |
9 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" | 10 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" |
10 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" | 11 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" |
11 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h" | 12 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h" |
12 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" | 13 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
13 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h" | 14 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h" |
14 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" | 15 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" |
15 #if defined(OS_CHROMEOS) | 16 #if defined(OS_CHROMEOS) |
16 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" | 17 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" |
(...skipping 20 matching lines...) Expand all Loading... |
37 #include "chrome/common/extensions/mime_types_handler.h" | 38 #include "chrome/common/extensions/mime_types_handler.h" |
38 #include "extensions/common/manifest_handlers/requirements_info.h" | 39 #include "extensions/common/manifest_handlers/requirements_info.h" |
39 | 40 |
40 namespace extensions { | 41 namespace extensions { |
41 | 42 |
42 void RegisterChromeManifestHandlers() { | 43 void RegisterChromeManifestHandlers() { |
43 DCHECK(!ManifestHandler::IsRegistrationFinalized()); | 44 DCHECK(!ManifestHandler::IsRegistrationFinalized()); |
44 #if defined(ENABLE_EXTENSIONS) | 45 #if defined(ENABLE_EXTENSIONS) |
45 (new AppIsolationHandler)->Register(); | 46 (new AppIsolationHandler)->Register(); |
46 (new AppLaunchManifestHandler)->Register(); | 47 (new AppLaunchManifestHandler)->Register(); |
| 48 (new BluetoothManifestHandler)->Register(); |
47 (new BrowserActionHandler)->Register(); | 49 (new BrowserActionHandler)->Register(); |
48 (new CommandsHandler)->Register(); | 50 (new CommandsHandler)->Register(); |
49 (new ContentScriptsHandler)->Register(); | 51 (new ContentScriptsHandler)->Register(); |
50 (new DefaultLocaleHandler)->Register(); | 52 (new DefaultLocaleHandler)->Register(); |
51 (new DevToolsPageHandler)->Register(); | 53 (new DevToolsPageHandler)->Register(); |
52 (new ExternallyConnectableHandler)->Register(); | 54 (new ExternallyConnectableHandler)->Register(); |
53 (new FileBrowserHandlerParser)->Register(); | 55 (new FileBrowserHandlerParser)->Register(); |
54 (new FileHandlersParser)->Register(); | 56 (new FileHandlersParser)->Register(); |
55 (new HomepageURLHandler)->Register(); | 57 (new HomepageURLHandler)->Register(); |
56 (new IconsHandler)->Register(); | 58 (new IconsHandler)->Register(); |
(...skipping 18 matching lines...) Expand all Loading... |
75 (new SystemIndicatorHandler)->Register(); | 77 (new SystemIndicatorHandler)->Register(); |
76 (new ThemeHandler)->Register(); | 78 (new ThemeHandler)->Register(); |
77 (new TtsEngineManifestHandler)->Register(); | 79 (new TtsEngineManifestHandler)->Register(); |
78 (new UpdateURLHandler)->Register(); | 80 (new UpdateURLHandler)->Register(); |
79 (new UrlHandlersParser)->Register(); | 81 (new UrlHandlersParser)->Register(); |
80 (new URLOverridesHandler)->Register(); | 82 (new URLOverridesHandler)->Register(); |
81 #endif | 83 #endif |
82 } | 84 } |
83 | 85 |
84 } // namespace extensions | 86 } // namespace extensions |
OLD | NEW |