Index: chrome/common/extensions/api/extension_api.cc |
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc |
index fc38a243633b0ff6249a931e6990203d084918cc..85207e7325c89a18c708f333ad1dabe98e395cc7 100644 |
--- a/chrome/common/extensions/api/extension_api.cc |
+++ b/chrome/common/extensions/api/extension_api.cc |
@@ -344,8 +344,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
CHECK(unloaded_schemas_.empty()); |
RegisterSchema("app", ReadFromResource( |
IDR_EXTENSION_API_JSON_APP)); |
- RegisterSchema("bookmarks", ReadFromResource( |
- IDR_EXTENSION_API_JSON_BOOKMARKS)); |
RegisterSchema("bookmarkManagerPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_BOOKMARKMANAGERPRIVATE)); |
RegisterSchema("browserAction", ReadFromResource( |
@@ -354,30 +352,16 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_BROWSINGDATA)); |
RegisterSchema("chromeosInfoPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_CHROMEOSINFOPRIVATE)); |
- RegisterSchema("cloudPrintPrivate", ReadFromResource( |
- IDR_EXTENSION_API_JSON_CLOUDPRINTPRIVATE)); |
RegisterSchema("commands", ReadFromResource( |
IDR_EXTENSION_API_JSON_COMMANDS)); |
- RegisterSchema("contentSettings", ReadFromResource( |
- IDR_EXTENSION_API_JSON_CONTENTSETTINGS)); |
- RegisterSchema("contextMenus", ReadFromResource( |
- IDR_EXTENSION_API_JSON_CONTEXTMENUS)); |
- RegisterSchema("cookies", ReadFromResource( |
- IDR_EXTENSION_API_JSON_COOKIES)); |
- RegisterSchema("debugger", ReadFromResource( |
- IDR_EXTENSION_API_JSON_DEBUGGER)); |
RegisterSchema("declarativeWebRequest", ReadFromResource( |
IDR_EXTENSION_API_JSON_DECLARATIVE_WEBREQUEST)); |
RegisterSchema("devtools", ReadFromResource( |
IDR_EXTENSION_API_JSON_DEVTOOLS)); |
- RegisterSchema("events", ReadFromResource( |
- IDR_EXTENSION_API_JSON_EVENTS)); |
RegisterSchema("experimental.accessibility", ReadFromResource( |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_ACCESSIBILITY)); |
RegisterSchema("experimental.app", ReadFromResource( |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_APP)); |
- RegisterSchema("experimental.history", ReadFromResource( |
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_HISTORY)); |
RegisterSchema("experimental.infobars", ReadFromResource( |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_INFOBARS)); |
RegisterSchema("experimental.input.virtualKeyboard", ReadFromResource( |
@@ -386,8 +370,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_POWER)); |
RegisterSchema("experimental.processes", ReadFromResource( |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_PROCESSES)); |
- RegisterSchema("experimental.record", ReadFromResource( |
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_RECORD)); |
RegisterSchema("experimental.rlz", ReadFromResource( |
IDR_EXTENSION_API_JSON_EXPERIMENTAL_RLZ)); |
RegisterSchema("runtime", ReadFromResource( |
@@ -398,16 +380,8 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_EXTENSION)); |
RegisterSchema("fileBrowserHandler", ReadFromResource( |
IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER)); |
- RegisterSchema("fileBrowserHandlerInternal", ReadFromResource( |
- IDR_EXTENSION_API_JSON_FILEBROWSERHANDLERINTERNAL)); |
RegisterSchema("fileBrowserPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_FILEBROWSERPRIVATE)); |
- RegisterSchema("fontSettings", ReadFromResource( |
- IDR_EXTENSION_API_JSON_FONTSSETTINGS)); |
- RegisterSchema("history", ReadFromResource( |
- IDR_EXTENSION_API_JSON_HISTORY)); |
- RegisterSchema("i18n", ReadFromResource( |
- IDR_EXTENSION_API_JSON_I18N)); |
RegisterSchema("idle", ReadFromResource( |
IDR_EXTENSION_API_JSON_IDLE)); |
RegisterSchema("input.ime", ReadFromResource( |
@@ -416,8 +390,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE)); |
RegisterSchema("managedModePrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_MANAGEDMODEPRIVATE)); |
- RegisterSchema("management", ReadFromResource( |
- IDR_EXTENSION_API_JSON_MANAGEMENT)); |
RegisterSchema("mediaPlayerPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_MEDIAPLAYERPRIVATE)); |
RegisterSchema("metricsPrivate", ReadFromResource( |
@@ -430,8 +402,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_PAGEACTION)); |
RegisterSchema("pageActions", ReadFromResource( |
IDR_EXTENSION_API_JSON_PAGEACTIONS)); |
- RegisterSchema("pageCapture", ReadFromResource( |
- IDR_EXTENSION_API_JSON_PAGECAPTURE)); |
RegisterSchema("permissions", ReadFromResource( |
IDR_EXTENSION_API_JSON_PERMISSIONS)); |
RegisterSchema("privacy", ReadFromResource( |
@@ -440,12 +410,8 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_PROXY)); |
RegisterSchema("scriptBadge", ReadFromResource( |
IDR_EXTENSION_API_JSON_SCRIPTBADGE)); |
- RegisterSchema("storage", ReadFromResource( |
- IDR_EXTENSION_API_JSON_STORAGE)); |
RegisterSchema("systemPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_SYSTEMPRIVATE)); |
- RegisterSchema("tabs", ReadFromResource( |
- IDR_EXTENSION_API_JSON_TABS)); |
RegisterSchema("terminalPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_TERMINALPRIVATE)); |
RegisterSchema("test", ReadFromResource( |
@@ -460,10 +426,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_TYPES)); |
RegisterSchema("wallpaperPrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_WALLPAPERPRIVATE)); |
- RegisterSchema("webNavigation", ReadFromResource( |
- IDR_EXTENSION_API_JSON_WEBNAVIGATION)); |
- RegisterSchema("webRequest", ReadFromResource( |
- IDR_EXTENSION_API_JSON_WEBREQUEST)); |
RegisterSchema("webRequestInternal", ReadFromResource( |
IDR_EXTENSION_API_JSON_WEBREQUESTINTERNAL)); |
RegisterSchema("webSocketProxyPrivate", ReadFromResource( |
@@ -472,8 +434,6 @@ void ExtensionAPI::InitDefaultConfiguration() { |
IDR_EXTENSION_API_JSON_WEBSTORE)); |
RegisterSchema("webstorePrivate", ReadFromResource( |
IDR_EXTENSION_API_JSON_WEBSTOREPRIVATE)); |
- RegisterSchema("windows", ReadFromResource( |
- IDR_EXTENSION_API_JSON_WINDOWS)); |
// Schemas to be loaded via JSON generated from IDL files. |
GeneratedSchemas::Get(&unloaded_schemas_); |