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

Unified Diff: third_party/WebKit/public/web/WebKit.h

Issue 2093983002: scheduler: Tell v8 about the current RAIL mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing gyp dependencies Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebKit.h
diff --git a/third_party/WebKit/public/web/WebKit.h b/third_party/WebKit/public/web/WebKit.h
index d483405287972c99c2c59c453d3e4736091eebe2..47d968403612fbaceef53c85aeb93e4c3e6216de 100644
--- a/third_party/WebKit/public/web/WebKit.h
+++ b/third_party/WebKit/public/web/WebKit.h
@@ -32,11 +32,7 @@
#define WebKit_h
#include "../platform/Platform.h"
-
-namespace v8 {
-class Isolate;
-enum class MemoryPressureLevel;
-}
+#include <v8.h>
namespace blink {
@@ -89,6 +85,9 @@ BLINK_EXPORT void decommitFreeableMemory();
BLINK_EXPORT void MemoryPressureNotificationToWorkerThreadIsolates(
v8::MemoryPressureLevel);
+// Set the RAIL performance mode on all worker thread isolates.
+BLINK_EXPORT void setRAILModeOnWorkerThreadIsolates(v8::RAILMode);
+
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698