5 #ifndef PPAPI_CPP_MESSAGE_LOOP_H_
6 #define PPAPI_CPP_MESSAGE_LOOP_H_
8 #include "ppapi/cpp/resource.h"
15 class CompletionCallback;
241 int64_t delay_ms = 0);
263 int32_t
PostQuit(
bool should_destroy);
268 #endif // PPAPI_CPP_MESSAGE_LOOP_H_
int32_t PostWork(const CompletionCallback &callback, int64_t delay_ms=0)
MessageLoop()
Creates an is_null() MessageLoop resource.
int32_t AttachToCurrentThread()
static MessageLoop GetCurrent()
int32_t PostQuit(bool should_destroy)
A reference counted module resource.
static MessageLoop GetForMainThread()