diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 14:02:00 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-18 14:02:00 +0000 |
commit | b082d58a1be56142aba3b0fcee84e9de9cac2758 (patch) | |
tree | 38014c5633299f81b643142cb6b36a6355772fea /ppapi/thunk/ppb_url_loader_api.h | |
parent | 5aece6995874d0bb501fb0fa657bb6536ea5609a (diff) | |
download | chromium_src-b082d58a1be56142aba3b0fcee84e9de9cac2758.zip chromium_src-b082d58a1be56142aba3b0fcee84e9de9cac2758.tar.gz chromium_src-b082d58a1be56142aba3b0fcee84e9de9cac2758.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=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194613
Review URL: https://codereview.chromium.org/14007010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_url_loader_api.h')
-rw-r--r-- | ppapi/thunk/ppb_url_loader_api.h | 3 |
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 |