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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for most 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index f7360bf6cb93be8d78ffe7b66497474390e0ac11..a1a94f92a8c570464eefff2b612d198bc189849b 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -674,6 +674,10 @@ class BLINK_PLATFORM_EXPORT Platform {
// depending on memory pressure.
virtual void RequestPurgeMemory() {}
+ // V8 Context Snapshot --------------------------------------------------
+
+ virtual bool TakeV8Snapshot() { return false; }
Yuki 2017/06/01 14:15:51 Can we give a predictor-like name to this function
peria 2017/06/20 10:20:14 Done.
+
// Feature Policy -----------------------------------------------------
// Create a new feature policy object for a document, given its parent

Powered by Google App Engine
This is Rietveld 408576698