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

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

Issue 2422913002: Add serializers for window.performance. (Closed)
Patch Set: remove performance.memory serialization. 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/Performance.h
diff --git a/third_party/WebKit/Source/core/timing/Performance.h b/third_party/WebKit/Source/core/timing/Performance.h
index eef3a9cc6822b4232e547153790d2d46cb9adc7b..002c903a83b47365a673c2aae1334b14ef58c525 100644
--- a/third_party/WebKit/Source/core/timing/Performance.h
+++ b/third_party/WebKit/Source/core/timing/Performance.h
@@ -42,6 +42,8 @@
namespace blink {
class InspectorWebPerfAgent;
+class ScriptState;
+class ScriptValue;
class CORE_EXPORT Performance final : public PerformanceBase,
public DOMWindowProperty {
@@ -63,6 +65,8 @@ class CORE_EXPORT Performance final : public PerformanceBase,
void updateLongTaskInstrumentation() override;
+ ScriptValue toJSONForBinding(ScriptState*) const;
+
DECLARE_VIRTUAL_TRACE();
private:

Powered by Google App Engine
This is Rietveld 408576698