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

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

Issue 2722983006: Add UKM initial_url and session_id fields. (Closed)
Patch Set: fix android build take 2 Created 3 years, 10 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 | « components/metrics/proto/ukm/report.proto ('k') | components/ukm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/proto/ukm/source.proto
diff --git a/components/metrics/proto/ukm/source.proto b/components/metrics/proto/ukm/source.proto
index 2f6dc1f6afe41ec1c0464299539232568814ec9d..2fe543e789cf7de52d3bdf6a0da88adb40561ac9 100644
--- a/components/metrics/proto/ukm/source.proto
+++ b/components/metrics/proto/ukm/source.proto
@@ -9,7 +9,7 @@ package ukm;
option optimize_for = LITE_RUNTIME;
// Source contains data related to a top-level navigation.
-// Next tag: 6
+// Next tag: 7
message Source {
// An identifier for the source. This should be unique within a session.
optional int32 id = 1;
@@ -22,6 +22,11 @@ message Source {
reserved 5;
reserved "url_origin";
+ // The initial URL of the source. Set in cases where the source URL changed
+ // (e.g. it was redirected), otherwise unset. If this URL has not been
+ // discovered by Google's crawler, it should not be recorded.
+ optional string initial_url = 6;
+
// Timestamp of navigation to this Source, as seen by the client. Time of
// events related to this Source will generally be relative to this timestamp.
optional int64 navigation_time_msec = 3;
« no previous file with comments | « components/metrics/proto/ukm/report.proto ('k') | components/ukm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698