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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h

Issue 2296923004: Track frame context URL using first script heuristic (Closed)
Patch Set: rollforward with fix for unittest issue Created 4 years, 3 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/inspector/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 17c31580f266a8a390531897b224ecd63ce9900b..467bf8a9832f11fea567feaef9c984128d004a4b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -14,6 +14,7 @@ namespace blink {
class ExecutionContext;
class LocalFrame;
+class Location;
class InspectedFrames;
// Inspector Agent for Web Performance APIs
@@ -22,6 +23,7 @@ class CORE_EXPORT InspectorWebPerfAgent final
, public WebThread::TaskObserver
, public scheduler::TaskTimeObserver {
WTF_MAKE_NONCOPYABLE(InspectorWebPerfAgent);
+ friend class InspectorWebPerfAgentTest;
public:
explicit InspectorWebPerfAgent(InspectedFrames*);
~InspectorWebPerfAgent();
@@ -39,6 +41,7 @@ public:
private:
Member<InspectedFrames> m_inspectedFrames;
+ HeapHashSet<Member<Location>> m_frameContextLocations;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698