#ifndef PPAPI_THUNK_PPB_FLASH_MESSAGE_LOOP_API_H_
#define PPAPI_THUNK_PPB_FLASH_MESSAGE_LOOP_API_H_
#include "base/callback_forward.h"
#include "ppapi/c/private/ppb_flash_message_loop.h"
namespace ppapi {
namespace thunk {
class PPB_Flash_MessageLoop_API {
public:
virtual ~PPB_Flash_MessageLoop_API() {}
virtual int32_t Run() = 0;
virtual void Quit() = 0;
typedef base::Callback<void (int32_t)> RunFromHostProxyCallback;
virtual void RunFromHostProxy(
const RunFromHostProxyCallback& callback) = 0;
};
}
}
#endif