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 WebV8ContextSnapshot_h | |
| 6 #define WebV8ContextSnapshot_h | |
| 7 | |
| 8 #include "public/platform/WebCommon.h" | |
| 9 #include "v8/include/v8.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 // WebV8ContextSnapshot is an API to take a snapshot of V8 context. | |
|
haraken
2017/07/10 06:52:09
Add:
// This API should be used only by tools/v8_
peria
2017/07/10 10:18:44
Done.
| |
| 14 class BLINK_EXPORT WebV8ContextSnapshot { | |
| 15 public: | |
| 16 static v8::StartupData TakeSnapshot(); | |
| 17 }; | |
| 18 | |
| 19 } // namespace blink | |
| 20 | |
| 21 #endif // WebV8ContextSnapshot_h | |
| OLD | NEW |