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

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

Issue 9019002: [CrosDisksClient] Determine device type from DeviceMediaType property sent by cros-disks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: little error in imageburner Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace":"fileBrowserPrivate", 3 "namespace":"fileBrowserPrivate",
4 "nodoc": "true", 4 "nodoc": "true",
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "FileBrowserTask", 7 "id": "FileBrowserTask",
8 "type": "object", 8 "type": "object",
9 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.", 9 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.",
10 "properties": { 10 "properties": {
(...skipping 19 matching lines...) Expand all
30 "devicePath": { 30 "devicePath": {
31 "type": "string", 31 "type": "string",
32 "description": "Disk volume device path." 32 "description": "Disk volume device path."
33 }, 33 },
34 "label": { 34 "label": {
35 "type": "string", 35 "type": "string",
36 "description": "Volume label." 36 "description": "Volume label."
37 }, 37 },
38 "deviceType": { 38 "deviceType": {
39 "type": "string", 39 "type": "string",
40 "enum": ["flash", "hdd", "optical", "undefined"], 40 "enum": ["sd", "usb", "optical", "mobile", "unknown"],
41 "description": "Device type." 41 "description": "Device type."
42 }, 42 },
43 "readOnly": { 43 "readOnly": {
44 "type": "boolean", 44 "type": "boolean",
45 "description": "Flag that specifies if volume is mounted in read-onl y mode." 45 "description": "Flag that specifies if volume is mounted in read-onl y mode."
46 }, 46 },
47 "totalSizeKB": { 47 "totalSizeKB": {
48 "type": "integer", 48 "type": "integer",
49 "description": "Total disk volume size in KBs" 49 "description": "Total disk volume size in KBs"
50 } 50 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "deviceLabel": { 114 "deviceLabel": {
115 "type": "string", 115 "type": "string",
116 "description": "Volume label." 116 "description": "Volume label."
117 }, 117 },
118 "driveLabel": { 118 "driveLabel": {
119 "type": "string", 119 "type": "string",
120 "description": "Volume's disk label." 120 "description": "Volume's disk label."
121 }, 121 },
122 "deviceType": { 122 "deviceType": {
123 "type": "string", 123 "type": "string",
124 "enum": ["flash", "hdd", "optical", "undefined"], 124 "enum": ["usb", "sd", "optical", "mobile", "unknown"],
125 "description": "Device type." 125 "description": "Device type."
126 }, 126 },
127 "isParent": { 127 "isParent": {
128 "type": "boolean", 128 "type": "boolean",
129 "description": "Flag that specifies if volume is a parent device." 129 "description": "Flag that specifies if volume is a parent device."
130 }, 130 },
131 "isReadOnly": { 131 "isReadOnly": {
132 "type": "boolean", 132 "type": "boolean",
133 "description": "Flag that specifies if volume is mounted in read-onl y mode." 133 "description": "Flag that specifies if volume is mounted in read-onl y mode."
134 }, 134 },
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 { 565 {
566 "$ref": "FileWatchEvent", 566 "$ref": "FileWatchEvent",
567 "name": "event", 567 "name": "event",
568 "description": "File watch event information." 568 "description": "File watch event information."
569 } 569 }
570 ] 570 ]
571 } 571 }
572 ] 572 ]
573 } 573 }
574 ] 574 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698