OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SnapshotCreator_h |
| 6 #define SnapshotCreator_h |
| 7 |
| 8 #include <cstdint> |
| 9 #include "public/platform/WebCommon.h" |
| 10 #include "v8/include/v8.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class BLINK_EXPORT SnapshotCreator { |
| 15 public: |
| 16 static v8::StartupData TakeSnapshot(v8::SnapshotCreator*); |
| 17 static v8::SnapshotCreator* GetSnapshotCreator(); |
| 18 static void SetTakingSnapshot(bool); |
| 19 }; |
| 20 |
| 21 } // namespace blink |
| 22 |
| 23 #endif // SnapshotCreator_h |
OLD | NEW |