Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index de709f9aceafd4ec14494a940e54ccdf0ae31ad4..fb215144f8bab3bed06a56c33912d10ae0e08118 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -105,6 +105,7 @@ class NumberObject; |
class Object; |
class ObjectOperationDescriptor; |
class ObjectTemplate; |
+class Platform; |
class Primitive; |
class RawOperationDescriptor; |
class Signature; |
@@ -4778,6 +4779,18 @@ class V8_EXPORT V8 { |
*/ |
static bool InitializeICU(); |
+ /** |
+ * Sets the v8::Platform to use. This should be invoked before V8 is |
+ * initialized. |
+ */ |
+ static void InitializePlatform(Platform* platform); |
+ |
+ /** |
+ * Clears all references to the v8::Platform. This should be invoked after |
+ * V8 was disposed. |
+ */ |
+ static void ShutdownPlatform(); |
+ |
private: |
V8(); |