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

Side by Side Diff: chrome/test/data/drive/applist.json

Issue 125553004: Parse createUrl field of apps.list Drive API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 "kind": "drive#appList", 2 "kind": "drive#appList",
3 "etag": "\"Jm4BaSnCWNND-noZsHINRqj4ABC/tuqRBw0lvjUdPtc_2msA1tN4XYZ\"", 3 "etag": "\"Jm4BaSnCWNND-noZsHINRqj4ABC/tuqRBw0lvjUdPtc_2msA1tN4XYZ\"",
4 "selfLink": "https://www.googleapis.com/drive/v2/apps", 4 "selfLink": "https://www.googleapis.com/drive/v2/apps",
5 "items": [ 5 "items": [
6 { 6 {
7 "kind": "drive#app", 7 "kind": "drive#app",
8 "id": "123456788192", 8 "id": "123456788192",
9 "name": "Drive app 1", 9 "name": "Drive app 1",
10 "objectType": "", 10 "objectType": "",
11 "supportsCreate": true, 11 "supportsCreate": true,
12 "supportsImport": true, 12 "supportsImport": true,
13 "installed": true, 13 "installed": true,
14 "authorized": false, 14 "authorized": false,
15 "productUrl": "https://chrome.google.com/webstore/detail/abcdefghabcdefghabcd efghabcdefgh", 15 "productUrl": "https://chrome.google.com/webstore/detail/abcdefghabcdefghabcd efghabcdefgh",
16 "createUrl": "https://www.example.com/createForApp1",
16 "primaryMimeTypes": [ 17 "primaryMimeTypes": [
17 "application/vnd.google-apps.drive-sdk.123456788192" 18 "application/vnd.google-apps.drive-sdk.123456788192"
18 ], 19 ],
19 "secondaryMimeTypes": [ 20 "secondaryMimeTypes": [
20 "text/html", 21 "text/html",
21 "text/plain" 22 "text/plain"
22 ], 23 ],
23 "primaryFileExtensions": [ 24 "primaryFileExtensions": [
24 "exe", 25 "exe",
25 "com" 26 "com"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 { 61 {
61 "kind": "drive#app", 62 "kind": "drive#app",
62 "id": "876543210000", 63 "id": "876543210000",
63 "name": "Drive app 2", 64 "name": "Drive app 2",
64 "objectType": "", 65 "objectType": "",
65 "supportsCreate": false, 66 "supportsCreate": false,
66 "supportsImport": false, 67 "supportsImport": false,
67 "installed": true, 68 "installed": true,
68 "authorized": false, 69 "authorized": false,
69 "productUrl": "https://chrome.google.com/webstore/detail/hgfedcbahgfedcbahgfe dcbahgfedcba", 70 "productUrl": "https://chrome.google.com/webstore/detail/hgfedcbahgfedcbahgfe dcbahgfedcba",
71 "createUrl": "https://www.example.com/createForApp2",
70 "primaryMimeTypes": [ 72 "primaryMimeTypes": [
71 "image/jpeg", 73 "image/jpeg",
72 "image/png", 74 "image/png",
73 "application/vnd.google-apps.drive-sdk.876543210000" 75 "application/vnd.google-apps.drive-sdk.876543210000"
74 ], 76 ],
75 "icons": [ 77 "icons": [
76 { 78 {
77 "category": "application", 79 "category": "application",
78 "size": 10, 80 "size": 10,
79 "iconUrl": "http://www.example.com/10.png" 81 "iconUrl": "http://www.example.com/10.png"
80 }, 82 },
81 { 83 {
82 "category": "document", 84 "category": "document",
83 "size": 10, 85 "size": 10,
84 "iconUrl": "http://www.example.com/d10.png" 86 "iconUrl": "http://www.example.com/d10.png"
85 }, 87 },
86 { 88 {
87 "category": "documentShared", 89 "category": "documentShared",
88 "size": 10, 90 "size": 10,
89 "iconUrl": "http://www.example.com/ds10.png" 91 "iconUrl": "http://www.example.com/ds10.png"
90 } 92 }
91 ] 93 ]
92 } 94 }
93 ] 95 ]
94 } 96 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_app_registry.cc ('k') | google_apis/drive/drive_api_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698