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

Unified Diff: third_party/chrome/tools/test/simple_api.json

Issue 12300042: Update idlsync.py to pull in dependencies required for chrome api generation. (Closed) Base URL: git://github.com/dart-lang/bleeding_edge.git@master
Patch Set: From another checkout Created 7 years, 10 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 | « third_party/chrome/tools/test/permissions.json ('k') | third_party/chrome/tools/test/tabs.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/tools/test/simple_api.json
diff --git a/third_party/chrome/tools/test/simple_api.json b/third_party/chrome/tools/test/simple_api.json
deleted file mode 100644
index 82d77b8da60f75677c21ea29d4cbca45c2512579..0000000000000000000000000000000000000000
--- a/third_party/chrome/tools/test/simple_api.json
+++ /dev/null
@@ -1,162 +0,0 @@
-[
- {
- "namespace": "simple_api",
- "types": [
- {
- "id": "TestType",
- "type": "object",
- "properties": {
- "string": {
- "type": "string",
- "description": "Some string."
- },
- "boolean": {
- "type": "boolean",
- "description": "Some boolean."
- },
- "number": {
- "type": "number",
- "description": "Some double."
- },
- "integer": {
- "type": "integer",
- "description": "Some integer."
- }
- }
- }
- ],
- "functions": [
- {
- "name": "incrementInteger",
- "type": "function",
- "description": "Increments the given integer.",
- "parameters": [
- {
- "name": "num",
- "type": "integer"
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "result",
- "type": "integer",
- "description": "The incremented value."
- }
- ]
- }
- ]
- },
- {
- "name": "optionalString",
- "type": "function",
- "description": "Takes a string. Or not.",
- "parameters": [
- {
- "name": "str",
- "type": "string",
- "optional": true
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "optionalBeforeRequired",
- "type": "function",
- "description": "Takes an optional parameter followed by a required one.",
- "parameters": [
- {
- "name": "first",
- "type": "string",
- "optional": true
- },
- {
- "name": "second",
- "type": "string"
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "optionalCallbackParams",
- "type": "function",
- "description": "Gives back a string. Or not.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "result",
- "$ref": "TestType",
- "description": "True if the extension has the specified permissions."
- }
- ]
- }
- ]
- },
- {
- "name": "getTestType",
- "type": "function",
- "description": "Return a TestType.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "result",
- "$ref": "TestType",
- "description": "A TestType."
- }
- ]
- }
- ]
- }
- ],
- "events": [
- {
- "name": "onIntegerFired",
- "type": "function",
- "description": "Fired when an integer is ready.",
- "parameters": [
- {
- "name": "someInteger",
- "type": "integer"
- }
- ]
- },
- {
- "name": "onStringFired",
- "type": "function",
- "description": "Fired when a string is ready.",
- "parameters": [
- {
- "name": "someString",
- "type": "string"
- }
- ]
- },
- {
- "name": "onTestTypeFired",
- "type": "function",
- "description": "Fired when a TestType is ready.",
- "parameters": [
- {
- "name": "someTestType",
- "$ref": "TestType"
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « third_party/chrome/tools/test/permissions.json ('k') | third_party/chrome/tools/test/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698