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

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: fix chromeos tests 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 f14d5ef084cfff0a37de13bfac0a3486124f7ae8..e9a43d5264c642d16719a083288060caacb8daba 100644
--- a/chrome/common/extensions/api/test.json
+++ b/chrome/common/extensions/api/test.json
@@ -55,7 +55,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": [
@@ -64,7 +63,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": [
@@ -79,7 +77,6 @@
},
{
"name": "log",
- "unprivileged": true,
"type": "function",
"description": "Logs a message during internal unit testing.",
"parameters": [
@@ -113,21 +110,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}
@@ -136,7 +130,6 @@
{
"name": "succeed",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "any", "name": "message", "optional": true}
@@ -145,7 +138,6 @@
{
"name": "assertTrue",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -161,7 +153,6 @@
{
"name": "assertFalse",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -177,7 +168,6 @@
{
"name": "assertBool",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -194,7 +184,6 @@
{
"name": "checkDeepEq",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"allowAmbiguousOptionalArguments": true,
"parameters": [
@@ -206,7 +195,6 @@
{
"name": "assertEq",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"allowAmbiguousOptionalArguments": true,
"parameters": [
@@ -219,14 +207,12 @@
{
"name": "assertNoLastError",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
{
"name": "assertLastError",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "string", "name": "expectedError"}
@@ -235,7 +221,6 @@
{
"name": "callback",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "function", "name": "func", "optional": true},
@@ -245,7 +230,6 @@
{
"name": "listenOnce",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
// TODO(cduvall): Make this a $ref to events.Event.
@@ -256,7 +240,6 @@
{
"name": "listenForever",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
// TODO(cduvall): Make this a $ref to events.Event.
@@ -267,7 +250,6 @@
{
"name": "callbackPass",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "function", "name": "func", "optional": true}
@@ -276,7 +258,6 @@
{
"name": "callbackFail",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{"type": "string", "name": "expectedError"},
@@ -286,7 +267,6 @@
{
"name": "runTests",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": [
{
@@ -299,7 +279,6 @@
{
"name": "getApiFeatures",
"type": "function",
- "unprivileged": true,
"nocompile": true,
"parameters": []
},
@@ -321,7 +300,6 @@
{
"name": "onMessage",
"type": "function",
- "unprivileged": true,
"description": "Used to test sending messages to extensions.",
"parameters": [
{
« no previous file with comments | « chrome/common/extensions/api/storage.json ('k') | chrome/common/extensions/features/base_feature_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698