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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Disable on ChromeOS and reduce size of table Created 3 years, 5 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/V8SnapshotExternalReferences.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotExternalReferences.h b/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotExternalReferences.h
new file mode 100644
index 0000000000000000000000000000000000000000..355ef854d23b4b4169c62a95a2d1ae93f35b4c4d
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8SnapshotExternalReferences.h
@@ -0,0 +1,26 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
haraken 2017/07/04 15:04:19 Rename this file to V8ContextSnapshotExternalRefer
peria 2017/07/07 06:22:03 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8SnapshotExternalReferences_h
+#define V8SnapshotExternalReferences_h
+
+#include <cstdint>
+
+#include "modules/ModulesExport.h"
+#include "platform/wtf/Allocator.h"
+
+namespace blink {
+
+class MODULES_EXPORT V8SnapshotExternalReferences {
+ STATIC_ONLY(V8SnapshotExternalReferences);
+
+ public:
+ // The definition of this method is in a generated code
+ // V8SnapshotExternalReferences.cpp.
+ static intptr_t* GetTable();
+};
+
+} // namespace blink
+
+#endif // V8SnapshotExternalReferences_h

Powered by Google App Engine
This is Rietveld 408576698