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

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

Issue 2719823003: Convert first contentful paint logging to the new UKM client API (Closed)
Patch Set: renames 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
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 // Source contains data related to a top-level navigation. 11 // Source contains data related to a top-level navigation.
12 // Next tag: 6 12 // Next tag: 6
13 message Source { 13 message Source {
14 // An identifier for the source. This should be unique within a session. 14 // An identifier for the source. This should be unique within a session.
15 optional int32 id = 1; 15 optional int32 id = 1;
16 16
17 // The URL of the source, as recorded in history. If this URL has not been 17 // The URL of the source, as recorded in history. If this URL has not been
18 // discovered by Google's crawler, it should not be recorded. 18 // discovered by Google's crawler, it should not be recorded.
19 optional string url = 2; 19 optional string url = 2;
20 20
21 // The origin of the URL. This is reserved to be used by server side only. 21 // The origin of the URL. This is reserved to be used by server side only.
22 reserved 5; 22 reserved 5;
23 reserved "url_origin"; 23 reserved "url_origin";
24 24
25 // Timestamp of navigation to this Source, as seen by the client. Time of 25 // Timestamp of navigation to this Source, as seen by the client. Time of
26 // events related to this Source will generally be relative to this timestamp. 26 // events related to this Source will generally be relative to this timestamp.
27 optional int64 navigation_time_msec = 3; 27 optional int64 navigation_time_msec = 3;
28 28
29 // Time between navigation and the first contentful paint, in milliseconds. 29 // Time between navigation and the first contentful paint, in
30 optional int64 first_contentful_paint_msec = 4; 30 // milliseconds. Deprecated. Use ukm::Entry instead.
31 optional int64 first_contentful_paint_msec = 4 [deprecated = true];
31 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698