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

Unified 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 gn. Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/chrome_manifest_handlers.cc
diff --git a/chrome/common/extensions/chrome_manifest_handlers.cc b/chrome/common/extensions/chrome_manifest_handlers.cc
index 59eebc718ea691a2062aa51a2c709119434512df..aca1268713ffa3a808b52793a17cee6680f1ce2a 100644
--- a/chrome/common/extensions/chrome_manifest_handlers.cc
+++ b/chrome/common/extensions/chrome_manifest_handlers.cc
@@ -7,9 +7,6 @@
#include "chrome/common/extensions/api/commands/commands_handler.h"
#include "chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h"
#include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h"
-#if defined(OS_CHROMEOS)
-#include "chrome/common/extensions/api/input_ime/input_components_handler.h"
-#endif
#include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
#include "chrome/common/extensions/api/plugins/plugins_handler.h"
#include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h"
@@ -33,6 +30,11 @@
#include "extensions/common/manifest_handlers/requirements_info.h"
#include "extensions/common/manifest_url_handlers.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/common/extensions/api/file_system_provider/file_system_provider_handler.h"
+#include "chrome/common/extensions/api/input_ime/input_components_handler.h"
+#endif
+
namespace extensions {
void RegisterChromeManifestHandlers() {
@@ -49,9 +51,6 @@ void RegisterChromeManifestHandlers() {
(new ExtensionActionHandler)->Register();
(new FileBrowserHandlerParser)->Register();
(new HomepageURLHandler)->Register();
-#if defined(OS_CHROMEOS)
- (new InputComponentsHandler)->Register();
-#endif
(new MinimumChromeVersionChecker)->Register();
(new OmniboxHandler)->Register();
(new OptionsPageManifestHandler)->Register();
@@ -68,6 +67,10 @@ void RegisterChromeManifestHandlers() {
(new UpdateURLHandler)->Register();
(new UrlHandlersParser)->Register();
(new URLOverridesHandler)->Register();
+#if defined(OS_CHROMEOS)
+ (new InputComponentsHandler)->Register();
+ (new FileSystemProviderHandler)->Register();
+#endif
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698