// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PPAPI_PROXY_MESSAGE_HANDLER_H_ #define PPAPI_PROXY_MESSAGE_HANDLER_H_ #include <stdint.h> #include <memory> #include "base/memory/scoped_refptr.h" #include "ppapi/c/pp_resource.h" #include "ppapi/c/ppp_message_handler.h" #include "ppapi/proxy/ppapi_proxy_export.h" namespace IPC { class Message; } namespace ppapi { class ScopedPPVar; namespace proxy { class MessageLoopResource; // MessageHandler wraps a PPP_MessageHandler to encapsulate calling methods // on the right thread and calling the Destroy function when this // MessageHandler is destroyed. class PPAPI_PROXY_EXPORT MessageHandler { … }; } // namespace proxy } // namespace ppapi #endif // PPAPI_PROXY_MESSAGE_HANDLER_H_