Index: third_party/WebKit/Source/bindings/modules/v8/V8ContextSnapshotExternalReferences.h |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8ContextSnapshotExternalReferences.h b/third_party/WebKit/Source/bindings/modules/v8/V8ContextSnapshotExternalReferences.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c7645eb4e1b8f1e38554250e5e7f42ba177e662 |
--- /dev/null |
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8ContextSnapshotExternalReferences.h |
@@ -0,0 +1,29 @@ |
+// 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 V8ContextSnapshotExternalReferences_h |
+#define V8ContextSnapshotExternalReferences_h |
+ |
+#include <cstdint> |
+ |
+#include "modules/ModulesExport.h" |
+#include "platform/wtf/Allocator.h" |
+ |
+namespace blink { |
+ |
+// V8ContextSnapshotExternalReferences::GetTable() provides a table of pointers |
+// of C++ callbacks exposed to V8. The table contains C++ callbacks for DOM |
+// attribute getters, setters, DOM methods, wrapper type info etc. |
+class MODULES_EXPORT V8ContextSnapshotExternalReferences { |
+ STATIC_ONLY(V8ContextSnapshotExternalReferences); |
+ |
+ public: |
+ // The definition of this method is auto-generated in |
+ // V8ContextSnapshotExternalReferences.cpp. |
+ static intptr_t* GetTable(); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // V8ContextSnapshotExternalReferences_h |