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

Unified Diff: ppapi/thunk/ppb_url_loader_api.h

Issue 10913257: Convert url request info to new proxy API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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/thunk/ppb_flash_api.h ('k') | ppapi/thunk/ppb_url_request_info_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_url_loader_api.h
diff --git a/ppapi/thunk/ppb_url_loader_api.h b/ppapi/thunk/ppb_url_loader_api.h
index be6116615cf0081faf15349716006834b7f0aaf3..f9628bb57dffcd70e0390435163ae52b603c2939 100644
--- a/ppapi/thunk/ppb_url_loader_api.h
+++ b/ppapi/thunk/ppb_url_loader_api.h
@@ -12,6 +12,7 @@
namespace ppapi {
class TrackedCallback;
+struct URLRequestInfoData;
namespace thunk {
@@ -19,8 +20,14 @@ class PPB_URLLoader_API {
public:
virtual ~PPB_URLLoader_API() {}
+ // Open given the resource ID of a PPB_URLRequestInfo resource.
virtual int32_t Open(PP_Resource request_id,
scoped_refptr<TrackedCallback> callback) = 0;
+
+ // Internal open given a URLRequestInfoData.
+ virtual int32_t Open(const URLRequestInfoData& data,
+ scoped_refptr<TrackedCallback> callback) = 0;
+
virtual int32_t FollowRedirect(scoped_refptr<TrackedCallback> callback) = 0;
virtual PP_Bool GetUploadProgress(int64_t* bytes_sent,
int64_t* total_bytes_to_be_sent) = 0;
« no previous file with comments | « ppapi/thunk/ppb_flash_api.h ('k') | ppapi/thunk/ppb_url_request_info_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698