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

Unified Diff: content/public/common/resource_response.h

Issue 7602023: Use a monotonic clock (TimeTicks) to report network times to WebCore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync & Merge Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/webkit_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.h
diff --git a/content/public/common/resource_response.h b/content/public/common/resource_response.h
index 652ef341e8dea847ef189e51a04e483ae34ba15d..9a8e3a8a85e3afba4b03bff4d706a5d78accbe01 100644
--- a/content/public/common/resource_response.h
+++ b/content/public/common/resource_response.h
@@ -23,6 +23,10 @@ namespace content {
struct ResourceResponseHead : webkit_glue::ResourceResponseInfo {
// The response status.
net::URLRequestStatus status;
+ // TimeTicks::Now() when the browser received the request from the renderer.
+ base::TimeTicks request_start;
+ // TimeTicks::Now() when the browser sent the response to the renderer.
+ base::TimeTicks response_start;
};
// Parameters for a synchronous resource response.
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/webkit_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698