| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/proxy/interface_proxy.h" | 9 #include "ppapi/proxy/interface_proxy.h" |
| 10 #include "ppapi/shared_impl/api_id.h" | 10 #include "ppapi/shared_impl/api_id.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 virtual bool OnMessageReceived(const IPC::Message& msg); | 22 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 23 | 23 |
| 24 static const ApiID kApiID = API_ID_PPB_TALK; | 24 static const ApiID kApiID = API_ID_PPB_TALK; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 // Message handlers. | 27 // Message handlers. |
| 28 void OnMsgGetPermissionACK(uint32 dispatcher_id, | 28 void OnMsgGetPermissionACK(uint32 dispatcher_id, |
| 29 PP_Resource resource, | 29 PP_Resource resource, |
| 30 int32_t result); | 30 int32_t result); |
| 31 | 31 |
| 32 void OnMsgGetRendererId(PP_Instance instance, int* renderer_id); |
| 33 |
| 32 DISALLOW_COPY_AND_ASSIGN(PPB_Talk_Private_Proxy); | 34 DISALLOW_COPY_AND_ASSIGN(PPB_Talk_Private_Proxy); |
| 33 }; | 35 }; |
| 34 | 36 |
| 35 } // namespace proxy | 37 } // namespace proxy |
| 36 } // namespace ppapi | 38 } // namespace ppapi |
| 37 | 39 |
| 38 #endif // PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ | 40 #endif // PPAPI_PROXY_PPB_TALK_PRIVATE_PROXY_H_ |
| OLD | NEW |