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

Unified Diff: components/metrics/proto/ukm/report.proto

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Rebase Created 3 years, 11 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/metrics/proto/ukm/report.proto
diff --git a/components/metrics/proto/ukm/report.proto b/components/metrics/proto/ukm/report.proto
new file mode 100644
index 0000000000000000000000000000000000000000..9ae9effdfae94d949955a9bfa1cfb0c8eb89c473
--- /dev/null
+++ b/components/metrics/proto/ukm/report.proto
@@ -0,0 +1,26 @@
+// Copyright 2017 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.
+
+syntax = "proto2";
+
+package ukm;
+
+option optimize_for = LITE_RUNTIME;
+
+import "ukm/source.proto";
+import "system_profile.proto";
+
+// This is the message type sent from Chrome to the UKM collector.
+// Next tag: 4
+message Report {
+ // A unique identifier for a Chrome install. This ID should be used only
+ // in UKM reports, and not linked to any other data sources.
+ optional fixed64 client_id = 1;
+
+ // Information about the user's browser and system configuration.
+ optional metrics.SystemProfileProto system_profile = 2;
+
+ // A list of the top-level navigations that data was collected for.
+ repeated Source sources = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698