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

Unified Diff: content/common/resource_dispatcher.cc

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: Pass TimeTicks in ResourceLoadTimingInfo Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/common/resource_dispatcher.cc
diff --git a/content/common/resource_dispatcher.cc b/content/common/resource_dispatcher.cc
index 5cb68000cd3abc61e0ff3c1d6df9ee0e5fb2d940..582b68f8ebef9b877abd83cc1b8585850a329db1 100644
--- a/content/common/resource_dispatcher.cc
+++ b/content/common/resource_dispatcher.cc
@@ -428,10 +428,11 @@ void ResourceDispatcher::FollowPendingRedirect(
message_sender()->Send(msg);
}
-void ResourceDispatcher::OnRequestComplete(int request_id,
- const net::URLRequestStatus& status,
- const std::string& security_info,
- const base::Time& completion_time) {
+void ResourceDispatcher::OnRequestComplete(
+ int request_id,
+ const net::URLRequestStatus& status,
+ const std::string& security_info,
+ const base::TimeTicks& completion_time) {
PendingRequestInfo* request_info = GetPendingRequestInfo(request_id);
if (!request_info)
return;

Powered by Google App Engine
This is Rietveld 408576698