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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 298ae66602e276c50667362f3ed855bd88bd5d99..549ca161193cfc4c4e28ffdd095d181163c01278 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -12,6 +12,7 @@
namespace blink {
+class DOMWindow;
class ExecutionContext;
class Frame;
class LocalFrame;
@@ -48,9 +49,9 @@ class CORE_EXPORT InspectorWebPerfAgent final
private:
bool m_enabled;
- String sanitizedLongTaskName(
+ std::pair<String, DOMWindow*> sanitizedAttribution(
const HeapHashSet<Member<Location>>& frameContextLocations,
- Frame* rootFrame);
+ Frame* observerFrame);
Member<LocalFrame> m_localFrame;
HeapHashSet<Member<Location>> m_frameContextLocations;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698