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

Unified Diff: gin/v8_initializer.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Disable on ChromeOS and reduce size of table Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: gin/v8_initializer.h
diff --git a/gin/v8_initializer.h b/gin/v8_initializer.h
index 7d16c3eb6d940e39d2ba9ad5b1f4ba22eddb753a..30f4b2a7410b14c90e946d395408ce0eafe61b33 100644
--- a/gin/v8_initializer.h
+++ b/gin/v8_initializer.h
@@ -76,6 +76,13 @@ class GIN_EXPORT V8Initializer {
#endif
#endif // V8_USE_EXTERNAL_STARTUP_DATA
+
+ static void LoadBlinkV8SnapshotFromFD(base::PlatformFile snapshot_fd,
haraken 2017/07/04 15:04:19 LoadV8ContextSnapshotFromFD
peria 2017/07/07 06:21:51 Done.
+ int64_t snapshot_offset,
+ int64_t snapshot_size);
+ static void LoadBlinkV8Snapshot();
haraken 2017/07/04 15:04:19 LoadV8ContextSnapshot
peria 2017/07/07 06:21:51 Done.
+ static void GetBlinkV8SnapshotData(const char** snapshot_data_out,
haraken 2017/07/04 15:04:19 GetV8ContextSnapshotData
peria 2017/07/07 06:21:51 Done.
+ int* snapshot_size_out);
};
} // namespace gin

Powered by Google App Engine
This is Rietveld 408576698