summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_url_loader_api.h
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:54:30 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:54:30 +0000
commit6f743a2779f5818ad244af91d517ae6e4ea9ae6b (patch)
treef47b0649ef31d798ba1adadfbec9686475c40e54 /ppapi/thunk/ppb_url_loader_api.h
parent0fa4949dc9d70c36d88c6469ddb13b7346ceaa87 (diff)
downloadchromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.zip
chromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.tar.gz
chromium_src-6f743a2779f5818ad244af91d517ae6e4ea9ae6b.tar.bz2
Pepper: Autogenerate thunk for PPB_URL_Loader.
This requires another annotation: "always_set_output_parameters" This annotation ensures that the thunk implementation will zero-out the value of all output parameters on failure. Tested: Built chrome and browser_tests. BUG= Review URL: https://codereview.chromium.org/14007010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_url_loader_api.h')
-rw-r--r--ppapi/thunk/ppb_url_loader_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/thunk/ppb_url_loader_api.h b/ppapi/thunk/ppb_url_loader_api.h
index 0fe8e04..00d4690 100644
--- a/ppapi/thunk/ppb_url_loader_api.h
+++ b/ppapi/thunk/ppb_url_loader_api.h
@@ -47,7 +47,8 @@ class PPB_URLLoader_API {
// Trusted API.
virtual void GrantUniversalAccess() = 0;
- virtual void SetStatusCallback(PP_URLLoaderTrusted_StatusCallback cb) = 0;
+ virtual void RegisterStatusCallback(
+ 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