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

Unified Diff: public/web/WebKit.h

Issue 1155293007: Expose ReleaseFreeMemory to free up memory on memory pressure or idle cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing test calls. Created 5 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 | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebKit.h
diff --git a/public/web/WebKit.h b/public/web/WebKit.h
index 24e267caddf4d633d3c099a18a62300d531549a3..47c4193c2b8afad9af3b9a96bb5237d6e4249e2f 100644
--- a/public/web/WebKit.h
+++ b/public/web/WebKit.h
@@ -85,6 +85,10 @@ BLINK_EXPORT void enableLogChannel(const char*);
// containing plugins will be reloaded after refreshing the plugin list.
BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
+// The embedder should call this periodically in an attempt to balance overall
+// performance and memory usage.
+BLINK_EXPORT void decommitFreeableMemory();
+
} // namespace blink
#endif
« no previous file with comments | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698