Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Side by Side Diff: third_party/WebKit/public/web/SnapshotCreator.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 intptr_t* getExternalReferences();
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
OLDNEW
« gin/v8_initializer.cc ('K') | « third_party/WebKit/public/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698