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

Unified Diff: ppapi/shared_impl/private/ppb_host_resolver_shared.h

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export AssertLockHeld Created 8 years, 6 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
Index: ppapi/shared_impl/private/ppb_host_resolver_shared.h
diff --git a/ppapi/shared_impl/private/ppb_host_resolver_shared.h b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
index d915946e26ec07c117653416444352613fdf12d8..f4eb74a52d33d7c95d0ba48022d15a0014c0d6fc 100644
--- a/ppapi/shared_impl/private/ppb_host_resolver_shared.h
+++ b/ppapi/shared_impl/private/ppb_host_resolver_shared.h
@@ -50,7 +50,7 @@ class PPAPI_SHARED_EXPORT PPB_HostResolver_Shared
virtual int32_t Resolve(const char* host,
uint16_t port,
const PP_HostResolver_Private_Hint* hint,
- PP_CompletionCallback callback) OVERRIDE;
+ scoped_refptr<TrackedCallback> callback) OVERRIDE;
virtual PP_Var GetCanonicalName() OVERRIDE;
virtual uint32_t GetSize() OVERRIDE;
virtual bool GetNetAddress(uint32_t index,
« no previous file with comments | « ppapi/shared_impl/ppb_video_decoder_shared.cc ('k') | ppapi/shared_impl/private/ppb_host_resolver_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698