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

Unified Diff: chrome/common/extensions/api/extension_api.cc

Issue 11778097: Revert revision 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/api/extension_api.cc
===================================================================
--- chrome/common/extensions/api/extension_api.cc (revision 176052)
+++ chrome/common/extensions/api/extension_api.cc (working copy)
@@ -344,6 +344,8 @@
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(
@@ -352,16 +354,30 @@
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(
@@ -370,6 +386,8 @@
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(
@@ -380,8 +398,16 @@
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(
@@ -390,6 +416,8 @@
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(
@@ -402,6 +430,8 @@
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(
@@ -410,8 +440,12 @@
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(
@@ -426,6 +460,10 @@
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(
@@ -434,6 +472,8 @@
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_);
« no previous file with comments | « chrome/common/extensions/api/events.json ('k') | chrome/common/extensions/api/file_browser_handler_internal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698