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

Unified Diff: webkit/plugins/ppapi/ppb_transport_impl.h

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated TestURLLoader to test blocking callbacks. Created 8 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
Index: webkit/plugins/ppapi/ppb_transport_impl.h
diff --git a/webkit/plugins/ppapi/ppb_transport_impl.h b/webkit/plugins/ppapi/ppb_transport_impl.h
index 34393e4297976964b6c2bd743f7381325a2167c8..7643ec3bef498b2deda379d6560771d9857f52b4 100644
--- a/webkit/plugins/ppapi/ppb_transport_impl.h
+++ b/webkit/plugins/ppapi/ppb_transport_impl.h
@@ -36,14 +36,14 @@ class PPB_Transport_Impl : public ::ppapi::Resource,
virtual PP_Bool IsWritable() OVERRIDE;
virtual int32_t SetProperty(PP_TransportProperty property,
PP_Var value) OVERRIDE;
- virtual int32_t Connect(PP_CompletionCallback callback) OVERRIDE;
+ virtual int32_t Connect(::ppapi::ApiCallbackType callback) OVERRIDE;
virtual int32_t GetNextAddress(PP_Var* address,
- PP_CompletionCallback callback) OVERRIDE;
+ ::ppapi::ApiCallbackType callback) OVERRIDE;
virtual int32_t ReceiveRemoteAddress(PP_Var address) OVERRIDE;
virtual int32_t Recv(void* data, uint32_t len,
- PP_CompletionCallback callback) OVERRIDE;
+ ::ppapi::ApiCallbackType callback) OVERRIDE;
virtual int32_t Send(const void* data, uint32_t len,
- PP_CompletionCallback callback) OVERRIDE;
+ ::ppapi::ApiCallbackType callback) OVERRIDE;
virtual int32_t Close() OVERRIDE;
// webkit_glue::P2PTransport::EventHandler implementation.

Powered by Google App Engine
This is Rietveld 408576698