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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 7471024: Formatting feature initial commit for ChromeOS Tree (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Final (hopefully) version. Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 5738 matching lines...) Expand 10 before | Expand all | Expand 10 after
5749 "parameters": [ 5749 "parameters": [
5750 { 5750 {
5751 "name" : "mountPoints", 5751 "name" : "mountPoints",
5752 "type": "array", 5752 "type": "array",
5753 "items": {"$ref": "MountPointInfo"}, 5753 "items": {"$ref": "MountPointInfo"},
5754 "description": "The list of MountPointInfo representing mounted devices." 5754 "description": "The list of MountPointInfo representing mounted devices."
5755 } 5755 }
5756 ] 5756 ]
5757 } 5757 }
5758 ] 5758 ]
5759 },
5760 {
5761 "name": "formatDevice",
5762 "description": "Formats a mounted device",
5763 "parameters": [
5764 {
5765 "name": "mountPath",
5766 "type": "string",
5767 "description": "Device's mount path."
5768 }
asargent_no_longer_on_chrome 2011/07/29 23:14:19 I'm sort of surprised not to see a callback here -
sidor.dev 2011/07/29 23:28:27 Replied under other comment - in general it send's
5769 ]
5759 } 5770 }
5760 ], 5771 ],
5761 "events": [ 5772 "events": [
5762 { 5773 {
5763 "name": "onDiskChanged", 5774 "name": "onDiskChanged",
5764 "type": "function", 5775 "type": "function",
5765 "description": "Fired when disk mount/unmount event is detected.", 5776 "description": "Fired when disk mount/unmount event is detected.",
5766 "parameters": [ 5777 "parameters": [
5767 { 5778 {
5768 "$ref": "MountEvent", 5779 "$ref": "MountEvent",
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
6800 "description": "A string result code. The value is non-empty on success only in tests.", 6811 "description": "A string result code. The value is non-empty on success only in tests.",
6801 "optional": "true" 6812 "optional": "true"
6802 } 6813 }
6803 ] 6814 ]
6804 } 6815 }
6805 ] 6816 ]
6806 } 6817 }
6807 ] 6818 ]
6808 } 6819 }
6809 ] 6820 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698