Chromium Code Reviews| Index: ppapi/thunk/ppb_url_response_info_api.h |
| diff --git a/ppapi/thunk/ppb_url_response_info_api.h b/ppapi/thunk/ppb_url_response_info_api.h |
| index e518a9af153d89e47e1ec0cba52f9d59dfa69578..aaca50e3520137e282fa273de7a681a2d0483f6d 100644 |
| --- a/ppapi/thunk/ppb_url_response_info_api.h |
| +++ b/ppapi/thunk/ppb_url_response_info_api.h |
| @@ -6,6 +6,7 @@ |
| #define PPAPI_THUNK_PPB_URL_RESPONSE_INFO_API_H_ |
| #include "ppapi/c/ppb_url_response_info.h" |
| +#include "ppapi/shared_impl/url_response_info_data.h" |
| namespace ppapi { |
| namespace thunk { |
| @@ -16,6 +17,11 @@ class PPB_URLResponseInfo_API { |
| virtual PP_Var GetProperty(PP_URLResponseProperty property) = 0; |
| virtual PP_Resource GetBodyAsFileRef() = 0; |
| + |
| + // Internal function to get the internal data. |
| + // THIS PASSES ONE PLUGIN REFERENCE TO THE CALLER FOR THE FILE REF RESOURCE |
| + // if there is a file ref. |
|
bbudge
2012/10/12 01:27:06
Maybe worth it to say "if body_as_file_ref is non-
|
| + virtual URLResponseInfoData GetData() = 0; |
| }; |
| } // namespace thunk |