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

Unified Diff: components/signin/core/browser/proto/list_devices.proto

Issue 1087933002: Cross Device Promo - Main Eligibility Flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a flow for when the first listDevices request is scheduled in the future. Tests around the sche… Created 5 years, 7 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
Index: components/signin/core/browser/proto/list_devices.proto
diff --git a/components/signin/core/browser/proto/list_devices.proto b/components/signin/core/browser/proto/list_devices.proto
new file mode 100644
index 0000000000000000000000000000000000000000..63b0af9e2ca0d3535c132a4a7c5a34bc120edf76
--- /dev/null
+++ b/components/signin/core/browser/proto/list_devices.proto
@@ -0,0 +1,37 @@
+// Copyright 2015 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.
+//
+// Contains information about the devices which are Sync client for a particular
+// account.
+//
+// For a full description of the rappor metrics, see
+// https://docs.google.com/document/d/1ZmKjU24zAYuo38zFwJxUwJk_0JJ8b0UohkCGI41QnBI
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package sync;
+
+// Next tag: 2
+message ListDevices {
+ // Each Device contains information about a single Sync Client for an account.
+ message Device {
+ // The name of the device.
+ optional string client_name = 1;
+
+ // What platform is the device running.
+ // 1 - Windows
+ // 2 - MacOS
+ // 3 - Android
+ // 4 - Amiga
+ // 5 - Skynet
+ optional int32 platform_id = 2;
+
+ // Server's best understanding of the device's last active time (as seconds
+ // from epoch).
+ optional int64 last_active_time = 3;
+ }
+ repeated Device devices = 1;
+}

Powered by Google App Engine
This is Rietveld 408576698