Chromium Code Reviews| 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 ddcd20e88debf9295d32f5a683303ecb818599c5..2c4e5943fbd1ed67bd5886203e2a882c9b52e356 100644 |
| --- a/ppapi/thunk/ppb_url_loader_api.h |
| +++ b/ppapi/thunk/ppb_url_loader_api.h |
| @@ -13,6 +13,7 @@ namespace ppapi { |
| class TrackedCallback; |
| struct URLRequestInfoData; |
| +struct URLResponseInfoData; |
| namespace thunk { |
| @@ -47,6 +48,14 @@ class PPB_URLLoader_API { |
| // Trusted API. |
| virtual void GrantUniversalAccess() = 0; |
| virtual void SetStatusCallback(PP_URLLoaderTrusted_StatusCallback cb) = 0; |
| + |
| + // Internal function. This will fill in the given response info data and |
| + // return true on sucesss. If the dowbload was to a file, there will be one |
| + // plugin reference transferred to the caller. On failure, returns false. |
| + // |
| + // If body_as_file_ref is non-zero, this will transfer one plugin reference |
| + // to to that object to the caller. |
|
bbudge
2012/10/12 01:27:06
s/to to/to
|
| + virtual bool GetResponseInfoData(URLResponseInfoData* data) = 0; |
| }; |
| } // namespace thunk |