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

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

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test comment fixes Created 5 years, 2 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 // The time immediately before starting ServiceWorker. If the response is not 123 // The time immediately before starting ServiceWorker. If the response is not
124 // provided by the ServiceWorker, kept empty. 124 // provided by the ServiceWorker, kept empty.
125 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 125 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
126 base::TimeTicks service_worker_start_time; 126 base::TimeTicks service_worker_start_time;
127 127
128 // The time immediately before dispatching fetch event in ServiceWorker. 128 // The time immediately before dispatching fetch event in ServiceWorker.
129 // If the response is not provided by the ServiceWorker, kept empty. 129 // If the response is not provided by the ServiceWorker, kept empty.
130 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 130 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
131 base::TimeTicks service_worker_ready_time; 131 base::TimeTicks service_worker_ready_time;
132
133 // Whether or not the request was for a LoFi version of the resource.
134 bool is_using_lofi;
mmenke 2015/10/13 15:42:49 BUG: You need to initialize this to false in Reso
megjablon 2015/10/14 18:09:46 Done.
132 }; 135 };
133 136
134 } // namespace content 137 } // namespace content
135 138
136 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 139 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698