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

Unified Diff: chrome/common/extensions/api/test.json

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 years, 6 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/test.json
diff --git a/chrome/common/extensions/api/test.json b/chrome/common/extensions/api/test.json
index cdf1252ee4c916792b3e81d4c896208cc4ebe829..08656da503d8a01e7a432ff7f5c11a2074971b09 100644
--- a/chrome/common/extensions/api/test.json
+++ b/chrome/common/extensions/api/test.json
@@ -50,7 +50,6 @@
},
{
"name": "notifyFail",
- "unprivileged": true,
"type": "function",
"description": "Notifies the browser process that test code running in the extension failed. This is only used for internal unit testing.",
"parameters": [
@@ -59,7 +58,6 @@
},
{
"name": "notifyPass",
- "unprivileged": true,
"type": "function",
"description": "Notifies the browser process that test code running in the extension passed. This is only used for internal unit testing.",
"parameters": [
@@ -74,7 +72,6 @@
},
{
"name": "log",
- "unprivileged": true,
"type": "function",
"description": "Logs a message during internal unit testing.",
"parameters": [
@@ -108,21 +105,18 @@
{
"name": "callbackAdded",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
{
"name": "runNextTest",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
{
"name": "fail",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "any", "name": "message", "optional": true}
@@ -131,7 +125,6 @@
{
"name": "succeed",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "any", "name": "message", "optional": true}
@@ -140,7 +133,6 @@
{
"name": "assertTrue",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -156,7 +148,6 @@
{
"name": "assertFalse",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -172,7 +163,6 @@
{
"name": "assertBool",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -189,7 +179,6 @@
{
"name": "checkDeepEq",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"allowAmbiguousOptionalArguments": true,
"parameters": [
@@ -201,7 +190,6 @@
{
"name": "assertEq",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"allowAmbiguousOptionalArguments": true,
"parameters": [
@@ -214,14 +202,12 @@
{
"name": "assertNoLastError",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
{
"name": "assertLastError",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "string", "name": "expectedError"}
@@ -230,7 +216,6 @@
{
"name": "callback",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "function", "name": "func", "optional": true},
@@ -240,7 +225,6 @@
{
"name": "listenOnce",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
// TODO(cduvall): Make this a $ref to events.Event.
@@ -251,7 +235,6 @@
{
"name": "listenForever",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
// TODO(cduvall): Make this a $ref to events.Event.
@@ -262,7 +245,6 @@
{
"name": "callbackPass",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "function", "name": "func", "optional": true}
@@ -271,7 +253,6 @@
{
"name": "callbackFail",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "string", "name": "expectedError"},
@@ -281,7 +262,6 @@
{
"name": "runTests",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -294,7 +274,6 @@
{
"name": "getApiFeatures",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
@@ -316,7 +295,6 @@
{
"name": "onMessage",
"type": "function",
- "unprivileged": true,
"description": "Used to test sending messages to extensions.",
"parameters": [
{

Powered by Google App Engine
This is Rietveld 408576698