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

Unified Diff: components/drive/resource_entry_conversion.cc

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
« no previous file with comments | « components/drive/drive.proto ('k') | components/drive/resource_entry_conversion_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/resource_entry_conversion.cc
diff --git a/components/drive/resource_entry_conversion.cc b/components/drive/resource_entry_conversion.cc
index 608a2fe97300bcab46c2e310f01afd94ba53eabe..52eda29bffc8b0f0c4a9c826d707920a90129d48 100644
--- a/components/drive/resource_entry_conversion.cc
+++ b/components/drive/resource_entry_conversion.cc
@@ -65,6 +65,7 @@ bool ConvertFileResourceToResourceEntry(
parent_resource_id = input.parents()[0].file_id();
converted.set_deleted(input.labels().is_trashed());
+ converted.set_starred(input.labels().is_starred());
converted.set_shared_with_me(!input.shared_with_me_date().is_null());
converted.set_shared(input.shared());
« no previous file with comments | « components/drive/drive.proto ('k') | components/drive/resource_entry_conversion_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698