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

Unified Diff: ppapi/thunk/ppb_url_loader_thunk.cc

Issue 11416064: Convert URLLoader to the new proxy design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments, merge Created 8 years 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 | « ppapi/thunk/ppb_url_loader_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_url_loader_thunk.cc
diff --git a/ppapi/thunk/ppb_url_loader_thunk.cc b/ppapi/thunk/ppb_url_loader_thunk.cc
index 23113cd1ce7aff0d65276b46e71df536cabc3db1..f472234ee13d068c2e4057babe2fa4dc623bd370 100644
--- a/ppapi/thunk/ppb_url_loader_thunk.cc
+++ b/ppapi/thunk/ppb_url_loader_thunk.cc
@@ -111,13 +111,6 @@ void GrantUniversalAccess(PP_Resource loader) {
enter.object()->GrantUniversalAccess();
}
-void SetStatusCallback(PP_Resource loader,
- PP_URLLoaderTrusted_StatusCallback cb) {
- EnterURLLoader enter(loader, true);
- if (enter.succeeded())
- enter.object()->SetStatusCallback(cb);
-}
-
const PPB_URLLoader g_ppb_urlloader_thunk = {
&Create,
&IsURLLoader,
@@ -133,7 +126,7 @@ const PPB_URLLoader g_ppb_urlloader_thunk = {
const PPB_URLLoaderTrusted g_ppb_urlloader_trusted_thunk = {
&GrantUniversalAccess,
- &SetStatusCallback
+ NULL // TODO(brettw) remove SetStatusCallback from the header.
};
} // namespace
« no previous file with comments | « ppapi/thunk/ppb_url_loader_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698