Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: ppapi/proxy/ppb_url_loader_proxy.cc

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: static_cast and header order Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/proxy/ppb_url_request_info_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_url_loader_proxy.cc
diff --git a/ppapi/proxy/ppb_url_loader_proxy.cc b/ppapi/proxy/ppb_url_loader_proxy.cc
index 74b79d9832e2b11390e407f700785b76c97ade14..7f06b46f3eea17e35552732c3e561e56b4af5914 100644
--- a/ppapi/proxy/ppb_url_loader_proxy.cc
+++ b/ppapi/proxy/ppb_url_loader_proxy.cc
@@ -47,7 +47,7 @@ class URLLoader : public PluginResource {
// When an asynchronous read is pending, this will contain the callback and
// the buffer to put the data.
PP_CompletionCallback current_read_callback_;
- char* current_read_buffer_;
+ void* current_read_buffer_;
// Cached copy of the response info. When nonzero, we're holding a reference
// to this resource.
@@ -205,7 +205,7 @@ PP_Resource GetResponseInfo(PP_Resource loader_id) {
}
int32_t ReadResponseBody(PP_Resource loader_id,
- char* buffer,
+ void* buffer,
int32_t bytes_to_read,
PP_CompletionCallback callback) {
URLLoader* loader_object;
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/proxy/ppb_url_request_info_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698