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

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 10993031: Refactor the URLResponseInfo to use new design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert shim Created 8 years, 2 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
Index: ppapi/thunk/resource_creation_api.h
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
index 7cf756f47e241b0694b53fbcc58ecb98830a0245..27f6881c342959abdb8ccd848d9833bf10ee7537 100644
--- a/ppapi/thunk/resource_creation_api.h
+++ b/ppapi/thunk/resource_creation_api.h
@@ -30,6 +30,7 @@ struct PP_Size;
namespace ppapi {
struct URLRequestInfoData;
+struct URLResponseInfoData;
namespace thunk {
@@ -84,6 +85,15 @@ class ResourceCreationAPI {
virtual PP_Resource CreateURLRequestInfo(
PP_Instance instance,
const URLRequestInfoData& data) = 0;
+
+ // Passed a reference to the file_ref_response, which is a process-locak
bbudge 2012/10/12 01:27:06 s/Passed/Passes s/file_ref_response/file_ref_resou
+ // resource corresponsing to the body_as_file_ref host resource in |data|,
bbudge 2012/10/12 01:27:06 s/corresponsing/corresponding
+ // if there is one.
+ virtual PP_Resource CreateURLResponseInfo(
+ PP_Instance instance,
+ const URLResponseInfoData& data,
+ PP_Resource file_ref_resource) = 0;
+
virtual PP_Resource CreateWheelInputEvent(
PP_Instance instance,
PP_TimeTicks time_stamp,

Powered by Google App Engine
This is Rietveld 408576698