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

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: Comments 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
« no previous file with comments | « sync/protocol/favicon_image_specifics.proto ('k') | sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+ // Whether this favicon is currently bookmarked or not.
+ optional bool is_bookmarked = 4;
+}
« no previous file with comments | « sync/protocol/favicon_image_specifics.proto ('k') | sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698