diff options
author | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 08:55:11 +0000 |
---|---|---|
committer | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 08:55:11 +0000 |
commit | d20651b3870e6e69e1064f4ccf7dda552d9c2ae2 (patch) | |
tree | a202d3a97b4eed64939676de9f6a01f86c956f1b /chrome/browser/drive | |
parent | f757be0920c38c3007a3f9f08a5ecd6423681250 (diff) | |
download | chromium_src-d20651b3870e6e69e1064f4ccf7dda552d9c2ae2.zip chromium_src-d20651b3870e6e69e1064f4ccf7dda552d9c2ae2.tar.gz chromium_src-d20651b3870e6e69e1064f4ccf7dda552d9c2ae2.tar.bz2 |
[Drive] Fetch id field of the parents in FileResource.
BUG=379667
Review URL: https://codereview.chromium.org/306073007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/drive')
-rw-r--r-- | chrome/browser/drive/drive_api_service.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/drive/drive_api_service.cc b/chrome/browser/drive/drive_api_service.cc index e49ba16..bb3a4a1 100644 --- a/chrome/browser/drive/drive_api_service.cc +++ b/chrome/browser/drive/drive_api_service.cc @@ -105,7 +105,7 @@ const char kFileResourceFields[] = "kind,id,title,createdDate,sharedWithMeDate,mimeType," "md5Checksum,fileSize,labels/trashed,imageMediaMetadata/width," "imageMediaMetadata/height,imageMediaMetadata/rotation,etag," - "parents/parentLink,alternateLink," + "parents(id,parentLink),alternateLink," "modifiedDate,lastViewedByMeDate,shared"; const char kFileResourceOpenWithLinksFields[] = "kind,id,openWithLinks/*"; @@ -113,14 +113,15 @@ const char kFileListFields[] = "kind,items(kind,id,title,createdDate,sharedWithMeDate," "mimeType,md5Checksum,fileSize,labels/trashed,imageMediaMetadata/width," "imageMediaMetadata/height,imageMediaMetadata/rotation,etag," - "parents/parentLink,alternateLink," + "parents(id,parentLink),alternateLink," "modifiedDate,lastViewedByMeDate,shared),nextLink"; const char kChangeListFields[] = "kind,items(file(kind,id,title,createdDate,sharedWithMeDate," "mimeType,md5Checksum,fileSize,labels/trashed,imageMediaMetadata/width," "imageMediaMetadata/height,imageMediaMetadata/rotation,etag," - "parents/parentLink,alternateLink,modifiedDate,lastViewedByMeDate,shared)," - "deleted,id,fileId,modificationDate),nextLink,largestChangeId"; + "parents(id,parentLink),alternateLink,modifiedDate," + "lastViewedByMeDate,shared),deleted,id,fileId,modificationDate),nextLink," + "largestChangeId"; // Converts the FileResource value to ResourceEntry and runs |callback| on the // UI thread. |