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

Unified Diff: chrome/browser/net/network_stats.cc

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes based on review comments. Created 5 years, 11 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
« no previous file with comments | « chrome/browser/load_library_perf_test.cc ('k') | chrome/renderer/benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/network_stats.cc
diff --git a/chrome/browser/net/network_stats.cc b/chrome/browser/net/network_stats.cc
index 388f5c6593c76949a4f3de120f8948f471ddacf6..51df4c21bde5e997b6742d511a3b59de17186167 100644
--- a/chrome/browser/net/network_stats.cc
+++ b/chrome/browser/net/network_stats.cc
@@ -417,8 +417,6 @@ bool NetworkStats::UpdateReception(const ProbePacket& probe_packet) {
TestType test_type = test_sequence_[current_test_index_];
uint32 received_packets = packets_received_mask_.count();
- // Now() has resolution ~1-15ms. HighResNow() has high resolution but it
- // is warned not to use it unless necessary.
base::TimeTicks current_time = base::TimeTicks::Now();
last_arrival_time_ = current_time;
if (first_arrival_time_.is_null())
« no previous file with comments | « chrome/browser/load_library_perf_test.cc ('k') | chrome/renderer/benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698