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

Unified Diff: components/enhanced_bookmarks/proto/metadata.proto

Issue 891873002: Add method for removing bookmark image data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/enhanced_bookmarks/proto/metadata.proto
diff --git a/components/enhanced_bookmarks/proto/metadata.proto b/components/enhanced_bookmarks/proto/metadata.proto
index bf4f18c5eca2ff704a3424ca34f32df056b06ba4..4a5f2ecd4d711f969cca34edb74169a435ea27bd 100644
--- a/components/enhanced_bookmarks/proto/metadata.proto
+++ b/components/enhanced_bookmarks/proto/metadata.proto
@@ -26,6 +26,17 @@ message ImageData {
// Information about the server hosted thumbnail.
optional ImageInfo thumbnail_info = 3;
+
+ // The expiration timestamp of the served thumbnail, in microseconds since
+ // epoch. The thumbnail is only guaranteed until this time, afterwards the
+ // URL may be broken.
+ // If expiration_timestamp is not present, then whoever set the thumbnail_info
+ // should guarantee that the thumbnail will not expire.
+ optional int64 expiration_timestamp = 5;
+
+ // Represents an explicit user action to remove an image. This will prevent
+ // any additional backfilling once this is set.
+ optional bool user_removed_image = 6;
}
message PageData {
« no previous file with comments | « components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698