OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Sync protocol datatype extension for ARC pakcages. | 5 // Sync protocol datatype extension for ARC pakcages. |
6 | 6 |
7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change |
8 // any fields in this file. | 8 // any fields in this file. |
9 | 9 |
10 syntax = "proto2"; | 10 syntax = "proto2"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | |
14 | 13 |
15 package sync_pb; | 14 package sync_pb; |
16 | 15 |
17 // Properties of arc package objects. | 16 // Properties of arc package objects. |
18 message ArcPackageSpecifics { | 17 message ArcPackageSpecifics { |
19 // Unique identifier for the item: | 18 // Unique identifier for the item: |
20 // Android package name. | 19 // Android package name. |
21 optional string package_name = 1; | 20 optional string package_name = 1; |
22 // Android package version. | 21 // Android package version. |
23 optional int32 package_version = 2; | 22 optional int32 package_version = 2; |
24 // Last Android id generated when Android side backups data. | 23 // Last Android id generated when Android side backups data. |
25 optional int64 last_backup_android_id = 3; | 24 optional int64 last_backup_android_id = 3; |
26 // Last time internal value that Android side backups data. | 25 // Last time internal value that Android side backups data. |
27 optional int64 last_backup_time = 4; | 26 optional int64 last_backup_time = 4; |
28 } | 27 } |
OLD | NEW |