Index: third_party/WebKit/public/web/SnapshotCreator.h |
diff --git a/third_party/WebKit/public/web/SnapshotCreator.h b/third_party/WebKit/public/web/SnapshotCreator.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..265848bef4e9dacf59e2e71baf3669376f73ac1c |
--- /dev/null |
+++ b/third_party/WebKit/public/web/SnapshotCreator.h |
@@ -0,0 +1,23 @@ |
+// 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 SnapshotCreator_h |
+#define SnapshotCreator_h |
+ |
+#include <cstdint> |
+#include "public/platform/WebCommon.h" |
+#include "v8/include/v8.h" |
+ |
+namespace blink { |
+ |
+class BLINK_EXPORT SnapshotCreator { |
+ public: |
+ static v8::StartupData TakeSnapshot(v8::SnapshotCreator*); |
+ static v8::SnapshotCreator* GetSnapshotCreator(); |
+ static void SetTakingSnapshot(bool); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // SnapshotCreator_h |