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

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

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 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
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/public/common/resource_devtools_info.h" 15 #include "content/public/common/resource_devtools_info.h"
16 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
17 #include "net/base/load_timing_info.h" 17 #include "net/base/load_timing_info.h"
18 #include "net/http/http_response_info.h" 18 #include "net/http/http_response_info.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 // Note: when modifying this structure, also update ResourceResponse::DeepCopy
24 // in resource_response.cc.
23 struct ResourceResponseInfo { 25 struct ResourceResponseInfo {
24 CONTENT_EXPORT ResourceResponseInfo(); 26 CONTENT_EXPORT ResourceResponseInfo();
25 CONTENT_EXPORT ~ResourceResponseInfo(); 27 CONTENT_EXPORT ~ResourceResponseInfo();
26 28
27 // The time at which the request was made that resulted in this response. 29 // The time at which the request was made that resulted in this response.
28 // For cached responses, this time could be "far" in the past. 30 // For cached responses, this time could be "far" in the past.
29 base::Time request_time; 31 base::Time request_time;
30 32
31 // The time at which the response headers were received. For cached 33 // The time at which the response headers were received. For cached
32 // responses, this time could be "far" in the past. 34 // responses, this time could be "far" in the past.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // ServiceWorker Timing Information. These will be set if the response is 116 // ServiceWorker Timing Information. These will be set if the response is
115 // provided by the ServiceWorker, or kept empty. 117 // provided by the ServiceWorker, or kept empty.
116 base::TimeTicks service_worker_fetch_start; 118 base::TimeTicks service_worker_fetch_start;
117 base::TimeTicks service_worker_fetch_ready; 119 base::TimeTicks service_worker_fetch_ready;
118 base::TimeTicks service_worker_fetch_end; 120 base::TimeTicks service_worker_fetch_end;
119 }; 121 };
120 122
121 } // namespace content 123 } // namespace content
122 124
123 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 125 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698