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

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

Issue 11359147: Convert the Pepper Talk API to use the new resource system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_talk_private_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_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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_talk_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698