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

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

Issue 12090015: Implement CreateDirectoryOperation on Drive API v2. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add an empty line. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/chromeos/drive/directory_entry.json
diff --git a/chrome/test/data/chromeos/drive/directory_entry.json b/chrome/test/data/chromeos/drive/directory_entry.json
new file mode 100644
index 0000000000000000000000000000000000000000..a6564ae38c05fda5636a16b24fbe05f43aaa4fc7
--- /dev/null
+++ b/chrome/test/data/chromeos/drive/directory_entry.json
@@ -0,0 +1,46 @@
+{
+ "kind": "drive#file",
+ "id": "directory_resource_id",
+ "etag": "\"directory_etag/files_etag\"",
+ "selfLink": "https://www.googleapis.com/drive/v2/files/directory_resource_id",
+ "alternateLink": "https://docs.google.com/folder/d/directory_resource_id/edit",
+ "iconLink": "https://ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png",
+ "title": "new directory",
+ "mimeType": "application/vnd.google-apps.folder",
+ "labels": {
+ "starred": false,
+ "hidden": false,
+ "trashed": false,
+ "restricted": false,
+ "viewed": true
+ },
+ "createdDate": "2013-01-28T05:54:08.286Z",
+ "modifiedDate": "2013-01-28T05:54:08.281Z",
+ "modifiedByMeDate": "2013-01-28T05:54:08.281Z",
+ "lastViewedByMeDate": "2013-01-28T05:54:08.281Z",
+ "parents": [
+ {
+ "kind": "drive#parentReference",
+ "id": "root_directory_id",
+ "selfLink": "https://www.googleapis.com/drive/v2/files/directory_resource_id/parents/root_directory_id",
+ "parentLink": "https://www.googleapis.com/drive/v2/files/root_directory_id",
+ "isRoot": true
+ }
+ ],
+ "userPermission": {
+ "kind": "drive#permission",
+ "etag": "\"directory_etag/permission_etag\"",
+ "id": "me",
+ "selfLink": "https://www.googleapis.com/drive/v2/files/directory_resource_id/permissions/me",
+ "role": "owner",
+ "type": "user"
+ },
+ "quotaBytesUsed": "0",
+ "ownerNames": [
+ "tester"
+ ],
+ "lastModifyingUserName": "tester",
+ "editable": true,
+ "writersCanShare": true,
+ "shared": false
+}
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698