diff options
author | victorw@chromium.org <victorw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 00:24:57 +0000 |
---|---|---|
committer | victorw@chromium.org <victorw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 00:24:57 +0000 |
commit | e0d8cbdb23b9a8446ffb1b8355652f2b167238f1 (patch) | |
tree | d7acb45db42060eed51b4ece5955ad3d042922ea /chrome/renderer/renderer_webkitclient_impl.h | |
parent | a0181609ceca468ce66eca453dcce4283a7bdcec (diff) | |
download | chromium_src-e0d8cbdb23b9a8446ffb1b8355652f2b167238f1.zip chromium_src-e0d8cbdb23b9a8446ffb1b8355652f2b167238f1.tar.gz chromium_src-e0d8cbdb23b9a8446ffb1b8355652f2b167238f1.tar.bz2 |
Add getFileSize support to chromium
The current implementation only allows getting file size
if the child process has been granted permission to upload file.
May need to update the policy checking code if getFileSize
is needed in other cases.
Here is the webkit implementation to support this:
https://bugs.webkit.org/show_bug.cgi?id=26521
TEST=none
BUG=9102
Review URL: http://codereview.chromium.org/131082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19866 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webkitclient_impl.h')
-rw-r--r-- | chrome/renderer/renderer_webkitclient_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.h b/chrome/renderer/renderer_webkitclient_impl.h index 27d11f8..d6d9b33 100644 --- a/chrome/renderer/renderer_webkitclient_impl.h +++ b/chrome/renderer/renderer_webkitclient_impl.h @@ -33,6 +33,7 @@ class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl { virtual WebKit::WebString cookies( const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); virtual void prefetchHostName(const WebKit::WebString&); + virtual bool getFileSize(const WebKit::WebString& path, long long& result); virtual WebKit::WebString defaultLocale(); virtual void suddenTerminationChanged(bool enabled); |