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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h

Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated mpearson@'s comment Created 4 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: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
index 75324f432b43a0528766240557544ca0af545560..380b079135acab94dbc3e006ef3794cfd8366b02 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
@@ -64,9 +64,10 @@ private:
EventType m_type;
int m_eventID;
- int m_pendingActivity;
- bool m_hasError;
- bool m_eventDispatched;
+ int m_pendingActivity = 0;
+ bool m_hasError = false;
+ bool m_eventDispatched = false;
+ double m_eventDispatchTime = 0;
Timer<WaitUntilObserver> m_consumeWindowInteractionTimer;
};

Powered by Google App Engine
This is Rietveld 408576698