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

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: Fixing nits Created 4 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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 130 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
131 base::TimeTicks service_worker_start_time; 131 base::TimeTicks service_worker_start_time;
132 132
133 // The time immediately before dispatching fetch event in ServiceWorker. 133 // The time immediately before dispatching fetch event in ServiceWorker.
134 // If the response is not provided by the ServiceWorker, kept empty. 134 // If the response is not provided by the ServiceWorker, kept empty.
135 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 135 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
136 base::TimeTicks service_worker_ready_time; 136 base::TimeTicks service_worker_ready_time;
137 137
138 // Whether or not the request was for a LoFi version of the resource. 138 // Whether or not the request was for a LoFi version of the resource.
139 bool is_using_lofi; 139 bool is_using_lofi;
140
141 // True if the navigation was proxied through data reduction proxy.
tbansal1 2016/03/08 22:14:43 s/navigation was proxied/resource was fetched/
RyanSturm 2016/03/10 00:37:58 Done.
142 bool used_data_reduction_proxy;
140 }; 143 };
141 144
142 } // namespace content 145 } // namespace content
143 146
144 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 147 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698