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

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

Issue 2402643002: Make RenderThreadImpl a client of memory coordinator (Closed)
Patch Set: Address on haraken's review Created 4 years, 2 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/platform/WebMemoryState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMemoryCoordinator.h
diff --git a/third_party/WebKit/public/platform/WebMemoryCoordinator.h b/third_party/WebKit/public/platform/WebMemoryCoordinator.h
index 5d2aff172d5062015fb82595ad569604c1360140..c9a579129def29693bb35637cad708c652eecaef 100644
--- a/third_party/WebKit/public/platform/WebMemoryCoordinator.h
+++ b/third_party/WebKit/public/platform/WebMemoryCoordinator.h
@@ -7,6 +7,7 @@
#include "public/platform/WebCommon.h"
#include "public/platform/WebMemoryPressureLevel.h"
+#include "public/platform/WebMemoryState.h"
namespace blink {
@@ -17,6 +18,8 @@ class WebMemoryCoordinator {
// gone.
BLINK_PLATFORM_EXPORT static void onMemoryPressure(WebMemoryPressureLevel);
+ BLINK_PLATFORM_EXPORT static void onMemoryStateChange(MemoryState);
+
// Called when Blink is going to be suspended.
BLINK_PLATFORM_EXPORT static void prepareToSuspend();
};
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebMemoryState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698