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_FLASH_DEVICE_ID_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_FLASH_DEVICE_ID_PROXY_H_ |
| 7 |
| 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/proxy/interface_proxy.h" |
| 10 |
| 11 namespace ppapi { |
| 12 namespace proxy { |
| 13 |
| 14 class PPB_Flash_DeviceID_Proxy : public InterfaceProxy { |
| 15 public: |
| 16 PPB_Flash_DeviceID_Proxy(Dispatcher* dispatcher); |
| 17 virtual ~PPB_Flash_DeviceID_Proxy(); |
| 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_FLASH_DEVICE_ID; |
| 25 |
| 26 private: |
| 27 void OnPluginMsgGetReply(int32 routing_id, |
| 28 PP_Resource resource, |
| 29 int32 result, |
| 30 const std::string& id); |
| 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_DeviceID_Proxy); |
| 33 }; |
| 34 |
| 35 } // namespace proxy |
| 36 } // namespace ppapi |
| 37 |
| 38 #endif // PPAPI_PROXY_PPB_FLASH_DEVICE_ID_PROXY_H_ |
| 39 |
OLD | NEW |