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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Move snapshot maker to tools/ and work for comments Created 3 years, 6 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 cc072e9bc6ca532f0c3536c892911f293a0d4818..17129cb67c54a2f51c45f100438e46aedd708cb8 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -693,6 +693,10 @@ class BLINK_PLATFORM_EXPORT Platform {
// depending on memory pressure.
virtual void RequestPurgeMemory() {}
+ // V8 Context Snapshot --------------------------------------------------
+
+ virtual bool IsToTakeV8Snapshot() { return false; }
+
// Feature Policy -----------------------------------------------------
// Create a new feature policy object for a document, given its parent

Powered by Google App Engine
This is Rietveld 408576698