Chromium Code Reviews| 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(); |
|
Yuki
2017/05/30 14:35:57
It's nice to comment that the definition of this f
peria
2017/06/01 08:33:33
Done.
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // V8SnapshotReference_h |