summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_url_loader.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 08:04:45 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 08:04:45 +0000
commitc0dac327638b6e975dda0dc9d4d538f07ea161e5 (patch)
tree31830e8c9bd558ba8b1812701ced769d632255b1 /webkit/glue/plugins/pepper_url_loader.h
parentb29bd2338b14010216c273595bb15401f2382342 (diff)
downloadchromium_src-c0dac327638b6e975dda0dc9d4d538f07ea161e5.zip
chromium_src-c0dac327638b6e975dda0dc9d4d538f07ea161e5.tar.gz
chromium_src-c0dac327638b6e975dda0dc9d4d538f07ea161e5.tar.bz2
Initial stream to file implementation.
This patch excludes one important detail. This code does not cleanup temp files yet. That will be added in a subsequent CL. R=brettw BUG=49789 TEST=third_party/ppapi/tests/test_url_loader.cc:TestStreamToFile Review URL: http://codereview.chromium.org/2806079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_url_loader.h')
-rw-r--r--webkit/glue/plugins/pepper_url_loader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_url_loader.h b/webkit/glue/plugins/pepper_url_loader.h
index d0d70f1..5cf3e81 100644
--- a/webkit/glue/plugins/pepper_url_loader.h
+++ b/webkit/glue/plugins/pepper_url_loader.h
@@ -38,6 +38,7 @@ class URLLoader : public Resource, public WebKit::WebURLLoaderClient {
int32_t FollowRedirect(PP_CompletionCallback callback);
int32_t ReadResponseBody(char* buffer, int32_t bytes_to_read,
PP_CompletionCallback callback);
+ int32_t FinishStreamingToFile(PP_CompletionCallback callback);
void Close();
// WebKit::WebURLLoaderClient implementation.
@@ -83,7 +84,7 @@ class URLLoader : public Resource, public WebKit::WebURLLoaderClient {
int64_t total_bytes_to_be_received_;
char* user_buffer_;
size_t user_buffer_size_;
- bool done_;
+ int32_t done_status_;
};
} // namespace pepper