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

Side by Side Diff: components/data_reduction_proxy/proto/pageload_metrics.proto

Issue 2149193002: Sending the time of the pingback request in the request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 5 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 | « components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 import "client_config.proto"; 9 import "client_config.proto";
10 10
11 package data_reduction_proxy; 11 package data_reduction_proxy;
12 12
13 // Request message to record metrics for one or more pageloads. 13 // Request message to record metrics for one or more pageloads.
14 message RecordPageloadMetricsRequest { 14 message RecordPageloadMetricsRequest {
15 // The pageload metrics to record. 15 // The pageload metrics to record.
16 repeated PageloadMetrics pageloads = 1; 16 repeated PageloadMetrics pageloads = 1;
17 // Time metrics were sent.
18 optional Timestamp metrics_sent_time = 2;
17 } 19 }
18 20
19 // Metrics for a single pageload. 21 // Metrics for a single pageload.
20 message PageloadMetrics { 22 message PageloadMetrics {
21 // The session key used to load the page. 23 // The session key used to load the page.
22 optional string session_key = 1; 24 optional string session_key = 1;
23 // The time at which the first request of the pageload was made, according to 25 // The time at which the first request of the pageload was made, according to
24 // the client's clock. 26 // the client's clock.
25 optional Timestamp first_request_time = 2; 27 optional Timestamp first_request_time = 2;
26 // The time at which the last request of the pageload was made, according to 28 // The time at which the last request of the pageload was made, according to
(...skipping 13 matching lines...) Expand all
40 // Time to onLoad event. 42 // Time to onLoad event.
41 optional Duration page_load_time = 9; 43 optional Duration page_load_time = 9;
42 44
43 // The sum of original-content-length values, over resources that were not 45 // The sum of original-content-length values, over resources that were not
44 // loaded from browser cache. 46 // loaded from browser cache.
45 optional int32 original_page_size_bytes = 10; 47 optional int32 original_page_size_bytes = 10;
46 // The sum of (compressed) content-length, over resources that were not loaded 48 // The sum of (compressed) content-length, over resources that were not loaded
47 // from browser cache. 49 // from browser cache.
48 optional int32 compressed_page_size_bytes = 11; 50 optional int32 compressed_page_size_bytes = 11;
49 } 51 }
OLDNEW
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698