| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | |
| 6 #define PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | |
| 7 | |
| 8 #include "ppapi/c/pp_instance.h" | |
| 9 #include "ppapi/proxy/interface_proxy.h" | |
| 10 #include "ppapi/shared_impl/api_id.h" | |
| 11 | |
| 12 namespace ppapi { | |
| 13 namespace proxy { | |
| 14 | |
| 15 class PPB_Talk_Private_Proxy : public InterfaceProxy { | |
| 16 public: | |
| 17 PPB_Talk_Private_Proxy(Dispatcher* dispatcher); | |
| 18 | |
| 19 static PP_Resource CreateProxyResource(PP_Instance instance); | |
| 20 | |
| 21 // InterfaceProxy implementation. | |
| 22 virtual bool OnMessageReceived(const IPC::Message& msg); | |
| 23 | |
| 24 static const ApiID kApiID = API_ID_PPB_TALK; | |
| 25 | |
| 26 private: | |
| 27 // Message handlers. | |
| 28 void OnMsgGetPermissionACK(uint32 dispatcher_id, | |
| 29 PP_Resource resource, | |
| 30 int32_t result); | |
| 31 | |
| 32 DISALLOW_COPY_AND_ASSIGN(PPB_Talk_Private_Proxy); | |
| 33 }; | |
| 34 | |
| 35 } // namespace proxy | |
| 36 } // namespace ppapi | |
| 37 | |
| 38 #endif // PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | |
| OLD | NEW |