Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: sync/protocol/arc_package_specifics.proto

Issue 2092893002: arc: Create sync protos for Arc package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits addressed. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/arc_package_specifics.proto
diff --git a/sync/protocol/arc_package_specifics.proto b/sync/protocol/arc_package_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..517c7091a19416c2fa68f3b5671d3b6dcb9e142d
--- /dev/null
+++ b/sync/protocol/arc_package_specifics.proto
@@ -0,0 +1,28 @@
+// Copyright 2016 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 ARC pakcages.
+
+// Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change
+// any fields in this file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+option retain_unknown_fields = true;
+
+package sync_pb;
+
+// Properties of arc package objects.
+message ArcPackageSpecifics {
+ // Unique identifier for the item:
+ // Android package name.
+ optional string package_name = 1;
+ // Android package version.
+ optional int32 package_version = 2;
+ // Last Android id generated when Android side backups data.
+ optional int64 last_backup_android_id = 3;
+ // Last time internal value that Android side backups data.
+ optional int64 last_backup_time = 4;
+}
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698