Commit ecaca1be authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

Minor comment cleanups for IdlenessDetector and FirstMeaningfulPaintDetector.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I3da9b8dab7ecaf9ef4552a43160b029f5147774e
Reviewed-on: https://chromium-review.googlesource.com/1143048Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576410}
parent 79b203d5
......@@ -16,11 +16,11 @@ namespace blink {
class LocalFrame;
class ResourceFetcher;
// IdlenessDetector observes network request count everytime a load is
// finshed after DOMContentLoadedEventEnd is fired, and emit network almost idle
// signal when there are no more than 2 network connection active in 0.5 second,
// and emit network idle signal when there is 0 network connection active in 0.5
// second.
// IdlenessDetector observes the resource request count every time a load is
// finshed after DOMContentLoadedEventEnd is fired. It emits a network almost
// idle signal when there are no more than 2 network connections active in 0.5
// seconds, and a network idle signal when there are 0 network connections
// active in 0.5 seconds.
class CORE_EXPORT IdlenessDetector
: public GarbageCollectedFinalized<IdlenessDetector>,
public base::sequence_manager::TaskTimeObserver {
......
......@@ -20,7 +20,7 @@ class LayoutObjectCounter;
class PaintTiming;
// FirstMeaningfulPaintDetector observes layout operations during page load
// until network stable (2 seconds of no network activity), and computes the
// until network stable (0.5 seconds of no network activity), and computes the
// layout-based First Meaningful Paint.
// See https://goo.gl/vpaxv6 and http://goo.gl/TEiMi4 for more details.
class CORE_EXPORT FirstMeaningfulPaintDetector
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment