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

Unified Diff: components/drive/drive.proto

Issue 2346873004: Added 'starred' to EntryProperty in FileManagerPrivateAPI. (Closed)
Patch Set: Added and modified comments. 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..54e296400ec4a247baebcfe025f3c0ee92052500 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 starred_property_initialized = 3;
}
// Message to store information of an existing cache file.
« no previous file with comments | « chrome/common/extensions/api/file_manager_private.idl ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698