Index: webkit/api/public/WebKitClient.h |
=================================================================== |
--- webkit/api/public/WebKitClient.h (revision 30574) |
+++ webkit/api/public/WebKitClient.h (working copy) |
@@ -159,6 +159,14 @@ |
const WebKit::WebString& challenge, |
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 int memoryUsageMB() = 0; |
+ |
+ |
// Message Ports ------------------------------------------------------- |
// Creates a Message Port Channel. This can be called on any thread. |