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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceLoadTiming.h

Issue 2389973004: reflow comments in platform/{network,peerconnection} (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/network/ResourceLoadTiming.h
diff --git a/third_party/WebKit/Source/platform/network/ResourceLoadTiming.h b/third_party/WebKit/Source/platform/network/ResourceLoadTiming.h
index 93dc0d0a630da26b01205f6e49edb3298b2e28dd..220a7f620ca79b419eac604365c82a9de63ff2bb 100644
--- a/third_party/WebKit/Source/platform/network/ResourceLoadTiming.h
+++ b/third_party/WebKit/Source/platform/network/ResourceLoadTiming.h
@@ -81,11 +81,15 @@ class PLATFORM_EXPORT ResourceLoadTiming
private:
ResourceLoadTiming();
- // We want to present a unified timeline to Javascript. Using walltime is problematic, because the clock may skew while resources
- // load. To prevent that skew, we record a single reference walltime when root document navigation begins. All other times are
- // recorded using monotonicallyIncreasingTime(). When a time needs to be presented to Javascript, we build a pseudo-walltime
- // using the following equation (m_requestTime as example):
- // pseudo time = document wall reference + (m_requestTime - document monotonic reference).
+ // We want to present a unified timeline to Javascript. Using walltime is
+ // problematic, because the clock may skew while resources load. To prevent
+ // that skew, we record a single reference walltime when root document
+ // navigation begins. All other times are recorded using
+ // monotonicallyIncreasingTime(). When a time needs to be presented to
+ // Javascript, we build a pseudo-walltime using the following equation
+ // (m_requestTime as example):
+ // pseudo time = document wall reference +
+ // (m_requestTime - document monotonic reference).
// All monotonicallyIncreasingTime() in seconds
double m_requestTime;

Powered by Google App Engine
This is Rietveld 408576698