| 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. | |
| 14 // This API should be used only by tools/v8_context_snapshot, which runs during | |
| 15 // Chromium's build step. | |
| 16 class BLINK_EXPORT WebV8ContextSnapshot { | |
| 17 public: | |
| 18 static v8::StartupData TakeSnapshot(); | |
| 19 }; | |
| 20 | |
| 21 } // namespace blink | |
| 22 | |
| 23 #endif // WebV8ContextSnapshot_h | |
| OLD | NEW |