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

Unified Diff: components/drive/drive.proto

Issue 2346873004: Added 'starred' to EntryProperty in FileManagerPrivateAPI. (Closed)
Patch Set: Load data from server to get 'starred' property. Created 4 years, 3 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 7a99598cd4cddf2a1ac9fe111ff8e72f857ccee3..240a1c883ce0a46b790b728ed959c4986e62244d 100644
--- a/components/drive/drive.proto
+++ b/components/drive/drive.proto
@@ -109,6 +109,9 @@ message ResourceEntry {
// server. Deleted entries won't be stored in ResourceMetadata.
optional bool deleted = 11;
+ // True if the entry is labeled "starred".
+ optional bool starred = 20;
+
// True if the entry is labeled with "shared-with-me", i.e., owned by someone
// else initially and later shared to the current user.
optional bool shared_with_me = 14;
@@ -149,6 +152,10 @@ message ResourceMetadataHeader {
// drive_resource_metadata_storage.h defines the current version.
optional int32 version = 1;
optional int64 largest_changestamp = 2;
+
+ // True if resources already have been updated after 'starred' property added.
+ // Otherwise, we have to load them from server.
+ optional bool has_starred = 3;
}
// Message to store information of an existing cache file.

Powered by Google App Engine
This is Rietveld 408576698