summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.h
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 23:39:50 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 23:39:50 +0000
commit7904d87a83cf58c83801e4d22b50ec0dbf1e0aea (patch)
tree8a8cd8de9d9f4a2005b2129fc59433c37d7cbf0c /webkit/glue/webkitclient_impl.h
parentdc83fcbdc33081df9c30fd74c1d3395e32d5b0c5 (diff)
downloadchromium_src-7904d87a83cf58c83801e4d22b50ec0dbf1e0aea.zip
chromium_src-7904d87a83cf58c83801e4d22b50ec0dbf1e0aea.tar.gz
chromium_src-7904d87a83cf58c83801e4d22b50ec0dbf1e0aea.tar.bz2
Implement cryptographicallyRandomValues to let WebKit have some
cryptographically strong random values inside the sandbox. Review URL: http://codereview.chromium.org/6581007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r--webkit/glue/webkitclient_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h
index 1c4f9c7..22cb220 100644
--- a/webkit/glue/webkitclient_impl.h
+++ b/webkit/glue/webkitclient_impl.h
@@ -68,6 +68,8 @@ class WebKitClientImpl : public WebKit::WebKitClient {
const WebKit::WebString& value1, const WebKit::WebString& value2);
virtual void suddenTerminationChanged(bool enabled) { }
virtual double currentTime();
+ virtual void cryptographicallyRandomValues(
+ unsigned char* buffer, size_t length);
virtual void setSharedTimerFiredFunction(void (*func)());
virtual void setSharedTimerFireTime(double fireTime);
virtual void stopSharedTimer();