favicon_tracking_specifics.proto 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. //
  5. // DEPRECATED: This data type is no longer synced.
  6. // TODO(crbug.com/978775): Remove once the file is no longer used by the server.
  7. // Sync protocol datatype extension for the favicon tracking type.
  8. // If you change or add any fields in this file, update proto_visitors.h and
  9. // potentially proto_enum_conversions.{h, cc}.
  10. syntax = "proto2";
  11. option java_multiple_files = true;
  12. option java_package = "org.chromium.components.sync.protocol";
  13. option optimize_for = LITE_RUNTIME;
  14. package sync_pb;
  15. // Tracking info for of favicon images. These control expiration of images
  16. // from sync based on recency, bookmark state, etc.
  17. message FaviconTrackingSpecifics {
  18. // The url of the favicon image.
  19. optional string favicon_url = 1;
  20. // The last time a page using this favicon was visited (in milliseconds
  21. // since linux epoch).
  22. optional int64 last_visit_time_ms = 3;
  23. // Whether this favicon is currently bookmarked or not.
  24. optional bool is_bookmarked = 4;
  25. }