blob: 508e0c1044eaa4b5450da4835f6d35e5351092d2 [file] [log] [blame]
// 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 bookmarks.
// If you change or add any fields in this file, update proto_visitors.h and
// potentially proto_enum_conversions.{h, cc}.
syntax = "proto2";
option java_multiple_files = true;
option java_package = "org.chromium.components.sync.protocol";
option optimize_for = LITE_RUNTIME;
package sync_pb;
// Corresponds to a single meta info key/value pair for a bookmark node.
message MetaInfo {
optional string key = 1;
optional string value = 2;
}
// Properties of bookmark sync objects.
message BookmarkSpecifics {
optional string url = 1;
optional bytes favicon = 2;
optional string title = 3;
// Corresponds to BookmarkNode::date_added() represented as microseconds since
// the Windows epoch.
optional int64 creation_time_us = 4;
optional string icon_url = 5;
repeated MetaInfo meta_info = 6;
// Introduced in M78. If not present, originator_client_item_id is interpreted
// as GUID as long as it is of the valid format. Otherwise, field is either
// ignored or overwritten locally.
optional string guid = 7;
}