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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceBase.h

Issue 2386403002: Pass DOMWinow to PerformanceLongTaskTiming for attribution (Closed)
Patch Set: sync and rebase 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/core/timing/PerformanceBase.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.h b/third_party/WebKit/Source/core/timing/PerformanceBase.h
index b992d2534677a356e0080f10628653daa4928db9..d9a9d38740042fc915909a0c5722083a915cd770 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h
@@ -45,6 +45,7 @@
namespace blink {
+class DOMWindow;
class Document;
class ExceptionState;
class PerformanceObserver;
@@ -100,7 +101,7 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
DEFINE_ATTRIBUTE_EVENT_LISTENER(longtasktimingbufferfull);
- void addLongTaskTiming(double, double, const String& frameContextUrl);
+ void addLongTaskTiming(double, double, const String&, DOMWindow*);
void addResourceTiming(const ResourceTimingInfo&);

Powered by Google App Engine
This is Rietveld 408576698