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

Unified Diff: chrome/browser/net/load_timing_observer.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: 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 | « no previous file | chrome/common/extensions/extension_localization_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/load_timing_observer.cc
diff --git a/chrome/browser/net/load_timing_observer.cc b/chrome/browser/net/load_timing_observer.cc
index f0d33e293a64937f812ad509d1091a14b2c53d4b..b3bd189a6c8b06b21b2347a4c9f8a43568ce9e1b 100644
--- a/chrome/browser/net/load_timing_observer.cc
+++ b/chrome/browser/net/load_timing_observer.cc
@@ -153,6 +153,7 @@ void LoadTimingObserver::OnAddURLRequestEntry(
URLRequestRecord& record = url_request_to_record_[source.id];
record.base_ticks = time;
record.timing = ResourceLoadTimingInfo();
+ record.timing.base_ticks = time;
record.timing.base_time = TimeTicksToTime(time);
}
return;
« no previous file with comments | « no previous file | chrome/common/extensions/extension_localization_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698