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

Unified Diff: chrome/test/data/chromeos/drive/about.json

Issue 10810070: Add Drive API parser for About/Apps json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanups. Created 8 years, 5 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/test/data/chromeos/drive/about.json
diff --git a/chrome/test/data/chromeos/drive/about.json b/chrome/test/data/chromeos/drive/about.json
new file mode 100644
index 0000000000000000000000000000000000000000..c0f52ba2cbe16d6df554bca3763b30506f71531c
--- /dev/null
+++ b/chrome/test/data/chromeos/drive/about.json
@@ -0,0 +1,251 @@
+{
+ "kind": "drive#about",
+ "etag": "\"ia2FSHMEjvcFQvtI43H5NSXKABC/2QujpLrTbaz3UJ2wpt1HSuAZXYZ\"",
+ "selfLink": "https://www.googleapis.com/drive/v2/about",
+ "name": "Test User",
+ "quotaBytesTotal": "5368709120",
+ "quotaBytesUsed": "1073741824",
+ "quotaBytesUsedInTrash": "0",
+ "largestChangeId": "8177",
+ "rootFolderId": "0AIv7G8yEYAWHUk9123",
+ "domainSharingPolicy": "allowedWithWarning",
+ "permissionId": "12141426201712069789",
+ "importFormats": [
+ {
+ "source": "application/msword",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "text/plain",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "text/tab-separated-values",
+ "targets": [
+ "application/vnd.google-apps.spreadsheet"
+ ]
+ },
+ {
+ "source": "application/vnd.ms-excel",
+ "targets": [
+ "application/vnd.google-apps.spreadsheet"
+ ]
+ },
+ {
+ "source": "application/vnd.sun.xml.writer",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "image/bmp",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "application/rtf",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "image/gif",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "text/csv",
+ "targets": [
+ "application/vnd.google-apps.spreadsheet"
+ ]
+ },
+ {
+ "source": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
+ "targets": [
+ "application/vnd.google-apps.presentation"
+ ]
+ },
+ {
+ "source": "application/x-msmetafile",
+ "targets": [
+ "application/vnd.google-apps.drawing"
+ ]
+ },
+ {
+ "source": "application/vnd.oasis.opendocument.text",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+ "targets": [
+ "application/vnd.google-apps.spreadsheet"
+ ]
+ },
+ {
+ "source": "application/vnd.ms-powerpoint",
+ "targets": [
+ "application/vnd.google-apps.presentation"
+ ]
+ },
+ {
+ "source": "application/x-vnd.oasis.opendocument.spreadsheet",
+ "targets": [
+ "application/vnd.google-apps.spreadsheet"
+ ]
+ },
+ {
+ "source": "application/pdf",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "image/jpeg",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "image/png",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ },
+ {
+ "source": "text/html",
+ "targets": [
+ "application/vnd.google-apps.document"
+ ]
+ }
+ ],
+ "exportFormats": [
+ {
+ "source": "application/vnd.google-apps.form",
+ "targets": [
+ "application/pdf",
+ "application/x-vnd.oasis.opendocument.spreadsheet",
+ "application/vnd.ms-excel"
+ ]
+ },
+ {
+ "source": "application/vnd.google-apps.presentation",
+ "targets": [
+ "application/pdf",
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation"
+ ]
+ },
+ {
+ "source": "application/vnd.google-apps.spreadsheet",
+ "targets": [
+ "application/pdf",
+ "application/x-vnd.oasis.opendocument.spreadsheet",
+ "application/vnd.ms-excel"
+ ]
+ },
+ {
+ "source": "application/vnd.google-apps.document",
+ "targets": [
+ "application/vnd.oasis.opendocument.text",
+ "application/msword",
+ "text/html",
+ "application/rtf",
+ "text/plain",
+ "application/pdf"
+ ]
+ },
+ {
+ "source": "application/vnd.google-apps.drawing",
+ "targets": [
+ "image/svg+xml",
+ "image/jpeg",
+ "image/png",
+ "application/pdf"
+ ]
+ }
+ ],
+ "additionalRoleInfo": [
+ {
+ "type": "application/vnd.google-apps.document",
+ "roleSets": [
+ {
+ "primaryRole": "reader",
+ "additionalRoles": [
+ "commenter"
+ ]
+ }
+ ]
+ },
+ {
+ "type": "application/vnd.google-apps.drawing",
+ "roleSets": [
+ {
+ "primaryRole": "reader",
+ "additionalRoles": [
+ "commenter"
+ ]
+ }
+ ]
+ },
+ {
+ "type": "application/vnd.google-apps.presentation",
+ "roleSets": [
+ {
+ "primaryRole": "reader",
+ "additionalRoles": [
+ "commenter"
+ ]
+ }
+ ]
+ }
+ ],
+ "features": [
+ {
+ "featureName": "ocr"
+ },
+ {
+ "featureName": "translation",
+ "featureRate": 2.0
+ }
+ ],
+ "maxUploadSizes": [
+ {
+ "type": "application/vnd.google-apps.drawing",
+ "size": "2097152"
+ },
+ {
+ "type": "*",
+ "size": "10737418240"
+ },
+ {
+ "type": "application/vnd.google-apps.presentation",
+ "size": "52428800"
+ },
+ {
+ "type": "application/vnd.google-apps.document",
+ "size": "2097152"
+ },
+ {
+ "type": "application/vnd.google-apps.spreadsheet",
+ "size": "20971520"
+ },
+ {
+ "type": "application/pdf",
+ "size": "10737418240"
+ }
+ ],
+ "isCurrentAppInstalled": false
+}

Powered by Google App Engine
This is Rietveld 408576698