Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: ppapi/proxy/ppb_flash_device_id_proxy.h

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_device_id_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 <string>
9
10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/proxy/interface_proxy.h"
12
13 namespace ppapi {
14 namespace proxy {
15
16 class PPB_Flash_DeviceID_Proxy : public InterfaceProxy {
17 public:
18 PPB_Flash_DeviceID_Proxy(Dispatcher* dispatcher);
19 virtual ~PPB_Flash_DeviceID_Proxy();
20
21 static PP_Resource CreateProxyResource(PP_Instance instance);
22
23 // InterfaceProxy implementation.
24 virtual bool OnMessageReceived(const IPC::Message& msg);
25
26 static const ApiID kApiID = API_ID_PPB_FLASH_DEVICE_ID;
27
28 private:
29 void OnPluginMsgGetReply(int32 routing_id,
30 PP_Resource resource,
31 int32 result,
32 const std::string& id);
33
34 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_DeviceID_Proxy);
35 };
36
37 } // namespace proxy
38 } // namespace ppapi
39
40 #endif // PPAPI_PROXY_PPB_FLASH_DEVICE_ID_PROXY_H_
41
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_device_id_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698