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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebV8ContextSnapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2acc45ecce37f52171cecc484538ef6abe503e77..4b87188a41cf55988280c8d988dc2a7111cdc005 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -701,6 +701,13 @@ class BLINK_PLATFORM_EXPORT Platform {
// depending on memory pressure.
virtual void RequestPurgeMemory() {}
+ // V8 Context Snapshot --------------------------------------------------
+
+ // This method returns true only when
+ // tools/v8_context_snapshot/v8_context_snapshot_generator is running (which
+ // runs during Chromium's build step).
+ virtual bool IsTakingV8ContextSnapshot() { return false; }
+
// Feature Policy -----------------------------------------------------
// Create a new feature policy object for a document, given its parent
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebV8ContextSnapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698