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

Unified Diff: ppapi/thunk/ppb_broker_api.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: ppapi/thunk/ppb_broker_api.h
diff --git a/ppapi/thunk/ppb_broker_api.h b/ppapi/thunk/ppb_broker_api.h
index 8703a7b89a724bd06d99c774b0164daeaf0aa0cf..5cea8de96cd7dc30d66797ecd19cdf0b245ffdcf 100644
--- a/ppapi/thunk/ppb_broker_api.h
+++ b/ppapi/thunk/ppb_broker_api.h
@@ -7,6 +7,7 @@
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_stdint.h"
+#include "ppapi/shared_impl/api_callback_type.h"
namespace ppapi {
namespace thunk {
@@ -15,7 +16,7 @@ class PPB_Broker_API {
public:
virtual ~PPB_Broker_API() {}
- virtual int32_t Connect(PP_CompletionCallback connect_callback) = 0;
+ virtual int32_t Connect(ApiCallbackType connect_callback) = 0;
virtual int32_t GetHandle(int32_t* handle) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698