diff options
author | Patrick Scott <phanna@android.com> | 2010-10-18 17:41:38 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-10-18 17:41:38 -0400 |
commit | 0bfbe2599b9b089efe6e6b111b9a824f4cbe720f (patch) | |
tree | ce214b6c198fc36c864dede1632d92e05f310c43 /WebKit/android/WebCoreSupport/WebRequest.h | |
parent | 38739d1775cff08915cd14d0c77356b21f4f77b7 (diff) | |
download | external_webkit-0bfbe2599b9b089efe6e6b111b9a824f4cbe720f.zip external_webkit-0bfbe2599b9b089efe6e6b111b9a824f4cbe720f.tar.gz external_webkit-0bfbe2599b9b089efe6e6b111b9a824f4cbe720f.tar.bz2 |
Fix books.google.com purchase page.
We have to copy the data between threads.
Bug: 3105145
Change-Id: I955d033815aaf3fd18fdac52ab8cf9b23c107436
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 987d8ae..408ec4e 100644 --- a/WebKit/android/WebCoreSupport/WebRequest.h +++ b/WebKit/android/WebCoreSupport/WebRequest.h @@ -28,6 +28,7 @@ #include "ChromiumIncludes.h" #include "WebUrlLoaderClient.h" +#include "wtf/Vector.h" class MessageLoop; @@ -58,7 +59,7 @@ public: WebRequest(WebUrlLoaderClient*, WebResourceRequest, int inputStream); // Optional, but if used has to be called before start - void AppendBytesToUpload(const char* bytes, int bytesLen); + void AppendBytesToUpload(Vector<char>* data); void start(bool isPrivateBrowsing); void cancel(); |