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; | 13 option retain_unknown_fields = true; |
14 | 14 |
15 package sync_pb; | 15 package sync_pb; |
16 | 16 |
17 // Properties of arc package objects. | 17 // Properties of arc package objects. |
18 message ArcPackageSpecifics { | 18 message ArcPackageSpecifics { |
19 // Unique identifier for the item: | 19 // Unique identifier for the item: |
20 // Android package name. | 20 // Android package name. |
21 optional string package_name = 1; | 21 optional string package_name = 1; |
22 // Android package version. | 22 // Android package version. |
23 optional int32 package_version = 2; | 23 optional int32 package_version = 2; |
24 // Last Android id generated when Android side backups data. | 24 // Last Android id generated when Android side backups data. |
25 optional int64 last_backup_android_id = 3; | 25 optional int64 last_backup_android_id = 3; |
26 // Last time internal value that Android side backups data. | 26 // Last time internal value that Android side backups data. |
27 optional int64 last_backup_time = 4; | 27 optional int64 last_backup_time = 4; |
28 } | 28 } |
OLD | NEW |