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

Unified Diff: components/drive/drive.proto

Issue 2799603002: Process TeamDrive change in change list. (Closed)
Patch Set: Add test for update. Created 3 years, 8 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: components/drive/drive.proto
diff --git a/components/drive/drive.proto b/components/drive/drive.proto
index 54e296400ec4a247baebcfe025f3c0ee92052500..8fec061cf30158832bfa93c5f044cc7d572e5c85 100644
--- a/components/drive/drive.proto
+++ b/components/drive/drive.proto
@@ -158,6 +158,26 @@ message ResourceMetadataHeader {
optional bool starred_property_initialized = 3;
}
+// Represents metadata of a Team Drive.
+message TeamDriveChange {
hashimoto 2017/04/06 10:23:36 IIUC this object never gets serialized. So this do
yamaguchi 2017/04/07 03:57:44 Changed not to use this intermediate data structur
+ // Name of the Team Drive. Also used as the title of the entry.
+ // See the comment at |base_name| of ResourceEntry.
+ optional string name = 1;
+
+ // Resource ID of the entry. Guaranteed to be unique.
+ optional string id = 2;
+
+ // Local ID of the entry.
+ optional string local_id = 3;
+
+ // This field is used for processing the change list from the
+ // server. Deleted entries won't be stored in ResourceMetadata.
+ optional bool deleted = 4;
+
+ // The time of the last modification.
+ optional int64 modification_date = 5;
+}
+
// Message to store information of an existing cache file.
message FileCacheEntry {
// MD5 of the cache file.

Powered by Google App Engine
This is Rietveld 408576698