diff options
author | Kristian Monsen <kristianm@google.com> | 2010-11-01 14:28:16 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-11-04 12:05:17 +0000 |
commit | abdfca3d9cf3a3d7728dd0b7a8ff35954fa7b8e4 (patch) | |
tree | ebda9439b356d49a89f467658d9cb9a82f7c945b /WebKit/android/WebCoreSupport/WebRequest.h | |
parent | d5a8aa497723e8ab3b77f0ecb8c9c6cc7ab5d7b0 (diff) | |
download | external_webkit-abdfca3d9cf3a3d7728dd0b7a8ff35954fa7b8e4.zip external_webkit-abdfca3d9cf3a3d7728dd0b7a8ff35954fa7b8e4.tar.gz external_webkit-abdfca3d9cf3a3d7728dd0b7a8ff35954fa7b8e4.tar.bz2 |
Add support for file uploads in WebKit
This also moves some of the android file handling to Java so it is not
duplicated in both places.
This CL needs https://android-git.corp.google.com/g/#change,77400
in frameworks/base
Change-Id: I90c1726e6c323a9de3fd64f2e6feef4b64171053
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequest.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebRequest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequest.h b/WebKit/android/WebCoreSupport/WebRequest.h index 1f73d2a..c82096e 100644 --- a/WebKit/android/WebCoreSupport/WebRequest.h +++ b/WebKit/android/WebCoreSupport/WebRequest.h @@ -60,7 +60,8 @@ public: WebRequest(WebUrlLoaderClient*, const WebResourceRequest&, int inputStream); // Optional, but if used has to be called before start - void AppendBytesToUpload(Vector<char>* data); + void appendBytesToUpload(Vector<char>* data); + void appendFileToUpload(std::string filename); void start(bool isPrivateBrowsing); void cancel(); |