Chromium Code Reviews| 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
|
| +} |