OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 package ukm; |
| 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
| 11 // Source contains data related to a top-level navigation. |
| 12 // Next tag: 5 |
| 13 message Source { |
| 14 // A identifier for the source. This should be unique even across sessions. |
| 15 optional int32 id = 1; |
| 16 |
| 17 // The url of the source, as recorded in history. If this URL has not been |
| 18 // discovered by Google's crawler, it must be stripped to the security origin |
| 19 // before recording to logs. If the security origin has not been discovered |
| 20 // by the crawler, the security origin must not be logged. |
| 21 optional string url = 2; |
| 22 |
| 23 // Timestamp of navigation to this Source, as seen by the client. Time of |
| 24 // events related to this Source will generally be relative to this timestamp. |
| 25 optional int64 navigation_time_msec = 3; |
| 26 |
| 27 // Time between navigation and the first meaningful paint, in milliseconds. |
| 28 optional int64 first_meaningful_paint_msec = 4; |
| 29 } |
OLD | NEW |