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

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

Issue 2449673002: Refactor InspectorWebPerfAgent: update lifecycle management to be per Local Frame root; replace hea… (Closed)
Patch Set: sync and rebase Created 4 years, 1 month 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/Performance.h
diff --git a/third_party/WebKit/Source/core/timing/Performance.h b/third_party/WebKit/Source/core/timing/Performance.h
index 002c903a83b47365a673c2aae1334b14ef58c525..eecb21efe08933e47d191e1f2568125cddf997b4 100644
--- a/third_party/WebKit/Source/core/timing/Performance.h
+++ b/third_party/WebKit/Source/core/timing/Performance.h
@@ -64,6 +64,7 @@ class CORE_EXPORT Performance final : public PerformanceBase,
PerformanceTiming* timing() const override;
void updateLongTaskInstrumentation() override;
+ bool observingLongTasks();
ScriptValue toJSONForBinding(ScriptState*) const;
@@ -74,7 +75,8 @@ class CORE_EXPORT Performance final : public PerformanceBase,
mutable Member<PerformanceNavigation> m_navigation;
mutable Member<PerformanceTiming> m_timing;
- mutable Member<InspectorWebPerfAgent> m_longTaskInspectorAgent;
+
+ bool m_observingLongTasks;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698