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

Unified Diff: components/drive/service/drive_api_service.cc

Issue 2748053005: Parse TeamDrive resource inside ChangeList. (Closed)
Patch Set: rebase Created 3 years, 9 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 | « no previous file | google_apis/drive/drive_api_parser.h » ('j') | google_apis/drive/drive_api_parser.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/service/drive_api_service.cc
diff --git a/components/drive/service/drive_api_service.cc b/components/drive/service/drive_api_service.cc
index 189baa3b217df139225cb0c5dc1fb382f12333ab..ec5f60e9d294d10e31784d67989003caf6d9d287 100644
--- a/components/drive/service/drive_api_service.cc
+++ b/components/drive/service/drive_api_service.cc
@@ -117,12 +117,13 @@ const char kFileListFields[] =
"parents(id,parentLink),alternateLink,"
"modifiedDate,lastViewedByMeDate,shared),nextLink";
const char kChangeListFields[] =
- "kind,items(file(kind,id,title,createdDate,sharedWithMeDate,"
+ "kind,items(type,file(kind,id,title,createdDate,sharedWithMeDate,"
"mimeType,md5Checksum,fileSize,labels/trashed,labels/starred,"
"imageMediaMetadata/width,"
"imageMediaMetadata/height,imageMediaMetadata/rotation,etag,"
"parents(id,parentLink),alternateLink,modifiedDate,"
- "lastViewedByMeDate,shared),deleted,id,fileId,modificationDate),nextLink,"
+ "lastViewedByMeDate,shared),teamDrive(kind,id),teamDriveId,"
hashimoto 2017/03/22 06:40:30 The "teamDrive" dictionary you are adding to test/
yamaguchi 2017/03/22 07:30:36 Done.
+ "deleted,id,fileId,modificationDate),nextLink,"
"largestChangeId";
void ExtractOpenUrlAndRun(const std::string& app_id,
« no previous file with comments | « no previous file | google_apis/drive/drive_api_parser.h » ('j') | google_apis/drive/drive_api_parser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698