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

Side by Side Diff: chrome/common/extensions/chrome_manifest_handlers.cc

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 7 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
OLDNEW
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/commands/commands_handler.h" 7 #include "chrome/common/extensions/api/commands/commands_handler.h"
8 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 8 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
9 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" 9 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
10 #include "chrome/common/extensions/api/plugins/plugins_handler.h" 10 #include "chrome/common/extensions/api/plugins/plugins_handler.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec ker.h" 24 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec ker.h"
25 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h" 25 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h"
26 #include "chrome/common/extensions/manifest_handlers/theme_handler.h" 26 #include "chrome/common/extensions/manifest_handlers/theme_handler.h"
27 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h" 27 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h"
28 #include "extensions/common/manifest_handlers/options_page_info.h" 28 #include "extensions/common/manifest_handlers/options_page_info.h"
29 #include "extensions/common/manifest_handlers/requirements_info.h" 29 #include "extensions/common/manifest_handlers/requirements_info.h"
30 #include "extensions/common/manifest_url_handlers.h" 30 #include "extensions/common/manifest_url_handlers.h"
31 31
32 #if defined(OS_CHROMEOS) 32 #if defined(OS_CHROMEOS)
33 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h" 33 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h"
34 #include "chrome/common/extensions/api/file_system_provider/file_system_provider _handler.h"
34 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" 35 #include "chrome/common/extensions/api/input_ime/input_components_handler.h"
35 #endif 36 #endif
36 37
37 namespace extensions { 38 namespace extensions {
38 39
39 void RegisterChromeManifestHandlers() { 40 void RegisterChromeManifestHandlers() {
40 DCHECK(!ManifestHandler::IsRegistrationFinalized()); 41 DCHECK(!ManifestHandler::IsRegistrationFinalized());
41 (new AboutPageHandler)->Register(); 42 (new AboutPageHandler)->Register();
42 (new AppIconColorHandler)->Register(); 43 (new AppIconColorHandler)->Register();
43 (new AppIsolationHandler)->Register(); 44 (new AppIsolationHandler)->Register();
(...skipping 16 matching lines...) Expand all
60 (new StorageSchemaManifestHandler)->Register(); 61 (new StorageSchemaManifestHandler)->Register();
61 (new SystemIndicatorHandler)->Register(); 62 (new SystemIndicatorHandler)->Register();
62 (new ThemeHandler)->Register(); 63 (new ThemeHandler)->Register();
63 (new TtsEngineManifestHandler)->Register(); 64 (new TtsEngineManifestHandler)->Register();
64 (new UIOverridesHandler)->Register(); 65 (new UIOverridesHandler)->Register();
65 (new UpdateURLHandler)->Register(); 66 (new UpdateURLHandler)->Register();
66 (new UrlHandlersParser)->Register(); 67 (new UrlHandlersParser)->Register();
67 (new URLOverridesHandler)->Register(); 68 (new URLOverridesHandler)->Register();
68 #if defined(OS_CHROMEOS) 69 #if defined(OS_CHROMEOS)
69 (new FileBrowserHandlerParser)->Register(); 70 (new FileBrowserHandlerParser)->Register();
71 (new FileSystemProviderHandler)->Register();
70 (new InputComponentsHandler)->Register(); 72 (new InputComponentsHandler)->Register();
71 #endif 73 #endif
72 } 74 }
73 75
74 } // namespace extensions 76 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/manifest_types.json ('k') | chrome/test/data/extensions/api_test/file_browser/mount_test/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698