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

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: Refactoring PurgeMemory. 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..822a3b8452ee1fb726307debbf726dec3dee8af8 100644
--- a/public/web/WebKit.h
+++ b/public/web/WebKit.h
@@ -85,6 +85,9 @@ BLINK_EXPORT void enableLogChannel(const char*);
// containing plugins will be reloaded after refreshing the plugin list.
BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
+// Decommit freeable memory pages.
Rick Byers 2015/06/05 17:35:46 nit: This is just for tooling scenarios, right? I
Primiano Tucci (use gerrit) 2015/06/05 18:24:50 Nope, this is going to be an actual memory saving
+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