Chromium Code Reviews| Index: extensions/shell/common/shell_extensions_client.cc |
| diff --git a/extensions/shell/common/shell_extensions_client.cc b/extensions/shell/common/shell_extensions_client.cc |
| index 039841320dd8215f6899af07bdbd9d75effda48b..503dae27d2675780bd0f44536f1bb3b195f98643 100644 |
| --- a/extensions/shell/common/shell_extensions_client.cc |
| +++ b/extensions/shell/common/shell_extensions_client.cc |
| @@ -8,6 +8,7 @@ |
| #include "base/logging.h" |
| #include "extensions/common/api/generated_schemas.h" |
| #include "extensions/common/common_manifest_handlers.h" |
| +#include "extensions/common/extension_api.h" |
| #include "extensions/common/extension_urls.h" |
| #include "extensions/common/features/api_feature.h" |
| #include "extensions/common/features/base_feature_provider.h" |
| @@ -181,6 +182,10 @@ base::StringPiece ShellExtensionsClient::GetAPISchema( |
| void ShellExtensionsClient::RegisterAPISchemaResources( |
| ExtensionAPI* api) const { |
| + api->RegisterSchemaResource("declarativeWebRequest", |
|
Ken Rockot(use gerrit already)
2014/09/29 17:22:53
You could also remove these from both ShellExtensi
Xi Han
2014/09/29 18:16:21
Great suggestion! I was considering how to remove
|
| + IDR_EXTENSION_API_JSON_DECLARATIVE_WEBREQUEST); |
| + api->RegisterSchemaResource("webViewRequest", |
| + IDR_EXTENSION_API_JSON_WEB_VIEW_REQUEST); |
| } |
| bool ShellExtensionsClient::ShouldSuppressFatalErrors() const { |