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

Side by Side Diff: components/metrics/proto/ukm/report.proto

Issue 2722983006: Add UKM initial_url and session_id fields. (Closed)
Patch Set: fix android build take 2 Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/metrics/proto/ukm/source.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 package ukm; 7 package ukm;
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 import "ukm/entry.proto"; 11 import "ukm/entry.proto";
12 import "ukm/source.proto"; 12 import "ukm/source.proto";
13 import "system_profile.proto"; 13 import "system_profile.proto";
14 14
15 // This is the message type sent from Chrome to the UKM collector. 15 // This is the message type sent from Chrome to the UKM collector.
16 // Next tag: 5 16 // Next tag: 6
17 message Report { 17 message Report {
18 // A unique identifier for a Chrome install. This ID should be used only 18 // A unique identifier for a Chrome install. This ID should be used only
19 // in UKM reports, and not linked to any other data sources. 19 // in UKM reports, and not linked to any other data sources.
20 optional fixed64 client_id = 1; 20 optional fixed64 client_id = 1;
21 21
22 // The session id for this record. This id is unique within a
23 // particular Chrome session. The client keeps track of the session id
24 // and sends it with each record. The session id is simply an integer
25 // that is incremented each time the user relaunches Chrome.
26 optional int32 session_id = 5;
27
22 // Information about the user's browser and system configuration. 28 // Information about the user's browser and system configuration.
23 optional metrics.SystemProfileProto system_profile = 2; 29 optional metrics.SystemProfileProto system_profile = 2;
24 30
25 // A list of the top-level navigations that data was collected for. 31 // A list of the top-level navigations that data was collected for.
26 repeated Source sources = 3; 32 repeated Source sources = 3;
27 33
28 // List of Entries containing the main UKM data. 34 // List of Entries containing the main UKM data.
29 repeated Entry entries = 4; 35 repeated Entry entries = 4;
30 } 36 }
OLDNEW
« no previous file with comments | « no previous file | components/metrics/proto/ukm/source.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698