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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for some comments 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698