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

Unified Diff: chrome/common/extensions/chrome_extensions_client.cc

Issue 2257003002: [Extensions] Generate all schema resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 4 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
« no previous file with comments | « chrome/common/extensions/api/types_private.json ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/chrome_extensions_client.cc
diff --git a/chrome/common/extensions/chrome_extensions_client.cc b/chrome/common/extensions/chrome_extensions_client.cc
index f0936fcb06027b98532e85863dd38c2f38824e96..3cfae5d2f21d24eccbede71c7c7f148364439f3d 100644
--- a/chrome/common/extensions/chrome_extensions_client.cc
+++ b/chrome/common/extensions/chrome_extensions_client.cc
@@ -24,7 +24,6 @@
#include "chrome/common/url_constants.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/common_resources.h"
-#include "chrome/grit/extensions_api_resources.h"
#include "chrome/grit/generated_resources.h"
#include "components/version_info/version_info.h"
#include "content/public/common/url_constants.h"
@@ -255,27 +254,6 @@ base::StringPiece ChromeExtensionsClient::GetAPISchema(
void ChromeExtensionsClient::RegisterAPISchemaResources(
ExtensionAPI* api) const {
- api->RegisterSchemaResource("accessibilityPrivate",
- IDR_EXTENSION_API_JSON_ACCESSIBILITYPRIVATE);
- api->RegisterSchemaResource("app", IDR_EXTENSION_API_JSON_APP);
- api->RegisterSchemaResource("browserAction",
- IDR_EXTENSION_API_JSON_BROWSERACTION);
- api->RegisterSchemaResource("commands", IDR_EXTENSION_API_JSON_COMMANDS);
- api->RegisterSchemaResource("declarativeContent",
- IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT);
- api->RegisterSchemaResource("fileBrowserHandler",
- IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER);
- api->RegisterSchemaResource("inputMethodPrivate",
- IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE);
- api->RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION);
- api->RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY);
- api->RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY);
- api->RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE);
- api->RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS);
- api->RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES);
- api->RegisterSchemaResource("types.private",
- IDR_EXTENSION_API_JSON_TYPES_PRIVATE);
- api->RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE);
}
bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const {
« no previous file with comments | « chrome/common/extensions/api/types_private.json ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698