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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/V8SnapshotReference.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for some comments Created 3 years, 7 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/bindings/modules/v8/V8SnapshotReference.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotReference.h b/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotReference.h
new file mode 100644
index 0000000000000000000000000000000000000000..b54773a4f40a15a5eabab066a246a3b8088ef337
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotReference.h
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8SnapshotReference_h
+#define V8SnapshotReference_h
+
+#include <cstdint>
+
+#include "modules/ModulesExport.h"
+#include "platform/wtf/Allocator.h"
+
+namespace blink {
+
+class MODULES_EXPORT V8SnapshotReference {
+ STATIC_ONLY(V8SnapshotReference);
+
+ public:
+ static intptr_t* GetReferenceTable();
+};
+
+} // namespace blink
+
+#endif // V8SnapshotReference_h

Powered by Google App Engine
This is Rietveld 408576698