| 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..9c1a234a49ef5b4e10e89cad036c4250eadb2aa8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/web/SnapshotCreator.h
|
| @@ -0,0 +1,26 @@
|
| +// 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 intptr_t* getExternalReferences();
|
| + static void TakeSnapshot(v8::SnapshotCreator*, int worldId);
|
| + static v8::StartupData SetUpSnapshotCreator(v8::SnapshotCreator*);
|
| + static v8::SnapshotCreator* GetSnapshotCreator();
|
| + static v8::StartupData Serialize(v8::Local<v8::Object>, int index, void*);
|
| + static void SetTakingSnapshot(bool);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // SnapshotCreator_h
|
|
|