| 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" | |
| 8 #include "chrome/common/extensions/api/commands/commands_handler.h" | 7 #include "chrome/common/extensions/api/commands/commands_handler.h" |
| 9 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" | 8 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" |
| 10 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" | 9 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" |
| 11 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" | 10 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" |
| 12 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" | 11 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
| 13 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h" | 12 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h" |
| 14 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" | 13 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
" |
| 15 #if defined(OS_CHROMEOS) | 14 #if defined(OS_CHROMEOS) |
| 16 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" | 15 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" |
| 17 #endif | 16 #endif |
| 18 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" | 17 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" |
| 19 #include "chrome/common/extensions/api/plugins/plugins_handler.h" | 18 #include "chrome/common/extensions/api/plugins/plugins_handler.h" |
| 20 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" | 19 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" |
| 21 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" | 20 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" |
| 22 #include "chrome/common/extensions/api/supervised_user_private/supervised_user_h
andler.h" | 21 #include "chrome/common/extensions/api/supervised_user_private/supervised_user_h
andler.h" |
| 23 #include "chrome/common/extensions/api/system_indicator/system_indicator_handler
.h" | 22 #include "chrome/common/extensions/api/system_indicator/system_indicator_handler
.h" |
| 24 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h" | 23 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h" |
| 25 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h" | 24 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h" |
| 26 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" | 25 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" |
| 27 #include "chrome/common/extensions/manifest_handlers/automation.h" | 26 #include "chrome/common/extensions/manifest_handlers/automation.h" |
| 28 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" | 27 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" |
| 29 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h" | 28 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h" |
| 30 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec
ker.h" | 29 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec
ker.h" |
| 31 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" | 30 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" |
| 32 #include "chrome/common/extensions/manifest_handlers/synthesize_browser_action_h
andler.h" | 31 #include "chrome/common/extensions/manifest_handlers/synthesize_browser_action_h
andler.h" |
| 33 #include "chrome/common/extensions/manifest_handlers/theme_handler.h" | 32 #include "chrome/common/extensions/manifest_handlers/theme_handler.h" |
| 34 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h" | 33 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h" |
| 35 #include "chrome/common/extensions/manifest_url_handler.h" | 34 #include "chrome/common/extensions/manifest_url_handler.h" |
| 35 #include "extensions/common/api/bluetooth/bluetooth_manifest_handler.h" |
| 36 #include "extensions/common/api/sockets/sockets_manifest_handler.h" | 36 #include "extensions/common/api/sockets/sockets_manifest_handler.h" |
| 37 #include "extensions/common/manifest_handlers/externally_connectable.h" | 37 #include "extensions/common/manifest_handlers/externally_connectable.h" |
| 38 #include "extensions/common/manifest_handlers/requirements_info.h" | 38 #include "extensions/common/manifest_handlers/requirements_info.h" |
| 39 | 39 |
| 40 namespace extensions { | 40 namespace extensions { |
| 41 | 41 |
| 42 void RegisterChromeManifestHandlers() { | 42 void RegisterChromeManifestHandlers() { |
| 43 DCHECK(!ManifestHandler::IsRegistrationFinalized()); | 43 DCHECK(!ManifestHandler::IsRegistrationFinalized()); |
| 44 #if defined(ENABLE_EXTENSIONS) | 44 #if defined(ENABLE_EXTENSIONS) |
| 45 (new AboutPageHandler)->Register(); | 45 (new AboutPageHandler)->Register(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 76 (new ThemeHandler)->Register(); | 76 (new ThemeHandler)->Register(); |
| 77 (new TtsEngineManifestHandler)->Register(); | 77 (new TtsEngineManifestHandler)->Register(); |
| 78 (new UIOverridesHandler)->Register(); | 78 (new UIOverridesHandler)->Register(); |
| 79 (new UpdateURLHandler)->Register(); | 79 (new UpdateURLHandler)->Register(); |
| 80 (new UrlHandlersParser)->Register(); | 80 (new UrlHandlersParser)->Register(); |
| 81 (new URLOverridesHandler)->Register(); | 81 (new URLOverridesHandler)->Register(); |
| 82 #endif | 82 #endif |
| 83 } | 83 } |
| 84 | 84 |
| 85 } // namespace extensions | 85 } // namespace extensions |
| OLD | NEW |