diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 17:54:34 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 17:54:34 +0000 |
commit | 1421207f89748c1c1cd0ed7240d4dfd1a0efc7f6 (patch) | |
tree | d8dda3094fcb311b260fe474cea3a0d8a0ac1e5e /webkit/glue/webkitclient_impl.h | |
parent | df6da1505fc09b8edb5a22e8455e30b112dd7ea8 (diff) | |
download | chromium_src-1421207f89748c1c1cd0ed7240d4dfd1a0efc7f6.zip chromium_src-1421207f89748c1c1cd0ed7240d4dfd1a0efc7f6.tar.gz chromium_src-1421207f89748c1c1cd0ed7240d4dfd1a0efc7f6.tar.bz2 |
Expose a method to access amount of memory used by the current process.
Patch by Anton Muhin
R=darin
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/345040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r-- | webkit/glue/webkitclient_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h index 1eb9d8c..e190465 100644 --- a/webkit/glue/webkitclient_impl.h +++ b/webkit/glue/webkitclient_impl.h @@ -53,6 +53,7 @@ class WebKitClientImpl : public WebKit::WebKitClient { virtual WebKit::WebString signedPublicKeyAndChallengeString( unsigned key_size_index, const WebKit::WebString& challenge, const WebKit::WebURL& url); + virtual size_t memoryUsageMB(); virtual bool rawCookies(const WebKit::WebURL& url, const WebKit::WebURL& policy_url, WebKit::WebVector<WebKit::WebCookie>*); |