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

Side by Side Diff: content/public/common/resource_response_info.h

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 129 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
130 base::TimeTicks service_worker_start_time; 130 base::TimeTicks service_worker_start_time;
131 131
132 // The time immediately before dispatching fetch event in ServiceWorker. 132 // The time immediately before dispatching fetch event in ServiceWorker.
133 // If the response is not provided by the ServiceWorker, kept empty. 133 // If the response is not provided by the ServiceWorker, kept empty.
134 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 134 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
135 base::TimeTicks service_worker_ready_time; 135 base::TimeTicks service_worker_ready_time;
136 136
137 // Whether or not the request was for a LoFi version of the resource. 137 // Whether or not the request was for a LoFi version of the resource.
138 bool is_using_lofi; 138 bool is_using_lofi;
139
140 // Whether the request went through the data reduction proxy or not
bengr 2016/02/26 22:53:58 Period.
RyanSturm 2016/03/01 19:36:04 Done.
141 bool was_fetched_via_data_reduction_proxy;
139 }; 142 };
140 143
141 } // namespace content 144 } // namespace content
142 145
143 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 146 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698