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

Unified Diff: trunk/src/ppapi/proxy/ppb_url_loader_proxy.cc

Issue 14195008: Revert 194613 "Pepper: Autogenerate thunk for PPB_URL_Loader." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « trunk/src/ppapi/ppapi_shared.gypi ('k') | trunk/src/ppapi/thunk/ppb_gamepad_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ppapi/proxy/ppb_url_loader_proxy.cc
===================================================================
--- trunk/src/ppapi/proxy/ppb_url_loader_proxy.cc (revision 194616)
+++ trunk/src/ppapi/proxy/ppb_url_loader_proxy.cc (working copy)
@@ -112,7 +112,7 @@
scoped_refptr<TrackedCallback> callback) OVERRIDE;
virtual void Close() OVERRIDE;
virtual void GrantUniversalAccess() OVERRIDE;
- virtual void RegisterStatusCallback(
+ virtual void SetStatusCallback(
PP_URLLoaderTrusted_StatusCallback cb) OVERRIDE;
virtual bool GetResponseInfoData(URLResponseInfoData* data) OVERRIDE;
@@ -324,7 +324,7 @@
API_ID_PPB_URL_LOADER, host_resource()));
}
-void URLLoader::RegisterStatusCallback(
+void URLLoader::SetStatusCallback(
PP_URLLoaderTrusted_StatusCallback cb) {
// Not implemented in the proxied version, this is for implementing the
// proxy itself in the host.
@@ -467,7 +467,7 @@
// callback before sending any URLLoader to the plugin.
EnterResourceNoLock<PPB_URLLoader_API> enter(resource, false);
if (enter.succeeded())
- enter.object()->RegisterStatusCallback(&UpdateResourceLoadStatus);
+ enter.object()->SetStatusCallback(&UpdateResourceLoadStatus);
else
NOTREACHED(); // Only called internally, resource should be valid.
}
« no previous file with comments | « trunk/src/ppapi/ppapi_shared.gypi ('k') | trunk/src/ppapi/thunk/ppb_gamepad_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698