Commit 5ee14f15 authored by Steven Holte's avatar Steven Holte Committed by Commit Bot

Update metrics_protos from upstream

Bug:785306,743089

Change-Id: I4e13b4d4c2bcd81ca54c7fa7c5133fe046a53043
Reviewed-on: https://chromium-review.googlesource.com/850842
Commit-Queue: Steven Holte <holte@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#527109}
parent ddf4690d
Name: Metrics Protos Name: Metrics Protos
Version: 171200293 Version: 180820879
Date: 2017/10/02 Date: 2018/01/04
License: BSD License: BSD
Security Critical: Yes Security Critical: Yes
......
...@@ -9,7 +9,7 @@ option optimize_for = LITE_RUNTIME; ...@@ -9,7 +9,7 @@ option optimize_for = LITE_RUNTIME;
package metrics; package metrics;
// Extra information attached to reports by client at upload time. // Extra information attached to reports by client at upload time.
// Next tag: 3 // Next tag: 5
message ReportingInfo { message ReportingInfo {
// Number of times upload of the current report has been attempted. // Number of times upload of the current report has been attempted.
optional int32 attempt_count = 1; optional int32 attempt_count = 1;
......
...@@ -486,7 +486,7 @@ message SystemProfileProto { ...@@ -486,7 +486,7 @@ message SystemProfileProto {
// Figures that can be used to generate application stability metrics. // Figures that can be used to generate application stability metrics.
// All values are counts of events since the last time that these // All values are counts of events since the last time that these
// values were reported. // values were reported.
// Next tag: 28 // Next tag: 29
message Stability { message Stability {
// Total amount of time that the program was running, in seconds, // Total amount of time that the program was running, in seconds,
// since the last time a log was recorded, as measured using a client-side // since the last time a log was recorded, as measured using a client-side
...@@ -548,6 +548,11 @@ message SystemProfileProto { ...@@ -548,6 +548,11 @@ message SystemProfileProto {
// The number of times that it didn't exit cleanly (which we assume to be // The number of times that it didn't exit cleanly (which we assume to be
// mostly crashes). // mostly crashes).
optional int32 crash_count = 16; optional int32 crash_count = 16;
// Android only. The number of times Chrome didn't exit cleanly and the GMS
// Core version had not changed from the last session. This is a subset of
// |crash_count| where we exclude unclean exits that are likely caused by
// GMS Core updates.
optional int32 crash_count_without_gms_core_update = 28;
// The number of times the program began, but did not complete, the shutdown // The number of times the program began, but did not complete, the shutdown
// process. (For example, this may occur when Windows is shutting down, and // process. (For example, this may occur when Windows is shutting down, and
......
...@@ -9,11 +9,27 @@ option optimize_for = LITE_RUNTIME; ...@@ -9,11 +9,27 @@ option optimize_for = LITE_RUNTIME;
package ukm; package ukm;
// Source contains data related to a top-level navigation. // Source contains data related to a top-level navigation.
// Next tag: 8 // Next tag: 9
message Source { message Source {
// An identifier for the source. This should be unique within a session. // An identifier for the source. This should be unique within a session.
optional int64 id = 1; optional int64 id = 1;
// Holds data about a URL seen by the client.
message UrlInfo {
// The URL seen by the client.
optional string url = 1;
// Number of URLs seen for this source before the current URL.
// If unset, it’s equivalent to the count of the UrlInfo before it + 1,
// or 0 if it’s the first UrlInfo.
optional int32 previous_url_count = 2;
}
// Data about each URL associated with the source_id within the record's
// scope, in the order that the URLs were encountered. Data may include full
// or partial redirect chains for main frame navigations.
repeated UrlInfo urls = 8;
// The URL of the source, as recorded in history. If this URL has not been // The URL of the source, as recorded in history. If this URL has not been
// discovered by Google's crawler, it should not be recorded. // discovered by Google's crawler, it should not be recorded.
optional string url = 2; optional string url = 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment