summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/proto
diff options
context:
space:
mode:
authorrfevang <rfevang@chromium.org>2015-02-04 12:05:42 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-04 20:08:02 +0000
commit950b89fb23bce3b60e02bcdcccfa7e75c345dc31 (patch)
treec5f7402765c459bf4955d9bea516cde196a04fc9 /components/enhanced_bookmarks/proto
parent2c6566f22ede274f109ac166dadd851812a5003c (diff)
downloadchromium_src-950b89fb23bce3b60e02bcdcccfa7e75c345dc31.zip
chromium_src-950b89fb23bce3b60e02bcdcccfa7e75c345dc31.tar.gz
chromium_src-950b89fb23bce3b60e02bcdcccfa7e75c345dc31.tar.bz2
Add method for removing bookmark image data.
Removes all image data associated with the bookmark, and sets the user_removed_image flag so the server won't attempt to set a new image for the bookmark. BUG=434436 Review URL: https://codereview.chromium.org/891873002 Cr-Commit-Position: refs/heads/master@{#314613}
Diffstat (limited to 'components/enhanced_bookmarks/proto')
-rw-r--r--components/enhanced_bookmarks/proto/metadata.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/enhanced_bookmarks/proto/metadata.proto b/components/enhanced_bookmarks/proto/metadata.proto
index bf4f18c..4a5f2ec 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 {