Index: webkit/api/public/WebKitClient.h |
=================================================================== |
--- webkit/api/public/WebKitClient.h (revision 30707) |
+++ webkit/api/public/WebKitClient.h (working copy) |
@@ -162,6 +162,14 @@ |
const WebKit::WebURL& url) = 0; |
+ |
+ // Memory -------------------------------------------------------------- |
+ |
+ // Returns the current space allocated for the pagefile, in MB. |
+ // That is committed size for Windows and virtual memory size for POSIX |
+ virtual size_t memoryUsageMB() = 0; |
+ |
+ |
// Message Ports ------------------------------------------------------- |
// Creates a Message Port Channel. This can be called on any thread. |