• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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// Sync protocol datatype extension for bookmarks.
6
7// Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8// any fields in this file.
9
10syntax = "proto2";
11
12option optimize_for = LITE_RUNTIME;
13option retain_unknown_fields = true;
14
15package sync_pb;
16
17// Corresponds to a single meta info key/value pair for a bookmark node.
18message MetaInfo {
19  optional string key = 1;
20  optional string value = 2;
21}
22
23// Properties of bookmark sync objects.
24message BookmarkSpecifics {
25  optional string url = 1;
26  optional bytes favicon = 2;
27  optional string title = 3;
28  // Corresponds to BookmarkNode::date_added() and is the internal value from
29  // base::Time.
30  optional int64 creation_time_us = 4;
31  optional string icon_url = 5;
32  repeated MetaInfo meta_info = 6;
33}
34
35