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

Unified Diff: sync/protocol/favicon_tracking_specifics.proto

Issue 12089103: [Sync] Add favicon datatype proto support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split into two types Created 7 years, 10 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: sync/protocol/favicon_tracking_specifics.proto
diff --git a/sync/protocol/favicon_tracking_specifics.proto b/sync/protocol/favicon_tracking_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..c3b06fe00a5f8d9a37aa2d954d141ec7637e9b6e
--- /dev/null
+++ b/sync/protocol/favicon_tracking_specifics.proto
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Sync protocol datatype extension for the favicon tracking type.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+option retain_unknown_fields = true;
+
+package sync_pb;
+
+// Tracking info for of favicon images. These control expiration of images
+// from sync based on recency, bookmark state, etc.
+message FaviconTrackingSpecifics {
+ // The url of the favicon image.
+ optional string favicon_url= 1;
+ // The last time a page using this favicon was visited (in milliseconds
+ // since linux epoch).
+ optional int64 last_visit_time_ms = 3;
albertb 2013/02/14 19:07:57 Is this sane time? Might want to add that detail t
Nicolas Zea 2013/02/14 19:45:51 It's kind of orthogonal I think. Either way we hav
+ // Whether this favicon is currently bookmarked or not.
+ optional bool is_bookmarked = 4;
albertb 2013/02/14 19:07:57 I'm confused by this field. Isn't it trivial for t
Nicolas Zea 2013/02/14 19:45:51 Yes, it's primarily for non-bookmarking clients. A
+}

Powered by Google App Engine
This is Rietveld 408576698