Chromium Code Reviews| 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> | |
|
Yuki
2017/05/12 15:20:11
I'm curious about why we need <cstdint>.
peria
2017/05/30 08:25:43
Acknowledged.
| |
| 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 intptr_t* getExternalReferences(); | |
|
Yuki
2017/05/12 15:20:11
Remove this line.
peria
2017/05/30 08:25:43
Done.
| |
| 17 static void TakeSnapshot(v8::SnapshotCreator*, int worldId); | |
| 18 static v8::StartupData SetUpSnapshotCreator(v8::SnapshotCreator*); | |
| 19 static v8::SnapshotCreator* GetSnapshotCreator(); | |
| 20 static v8::StartupData Serialize(v8::Local<v8::Object>, int index, void*); | |
| 21 static void SetTakingSnapshot(bool); | |
| 22 }; | |
| 23 | |
| 24 } // namespace blink | |
| 25 | |
| 26 #endif // SnapshotCreator_h | |
| OLD | NEW |