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

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

Issue 5410001: Change trusted shared memory interface to match audio.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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_internal.h ('k') | ppapi/proxy/ppb_buffer_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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PPB_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PPB_BUFFER_PROXY_H_
6 #define PPAPI_PPB_BUFFER_PROXY_H_ 6 #define PPAPI_PPB_BUFFER_PROXY_H_
7 7
8 #include "ppapi/c/pp_module.h" 8 #include "ppapi/c/pp_module.h"
9 #include "ppapi/proxy/interface_proxy.h" 9 #include "ppapi/proxy/interface_proxy.h"
10 10
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 // InterfaceProxy implementation. 25 // InterfaceProxy implementation.
26 virtual const void* GetSourceInterface() const; 26 virtual const void* GetSourceInterface() const;
27 virtual InterfaceID GetInterfaceId() const; 27 virtual InterfaceID GetInterfaceId() const;
28 virtual void OnMessageReceived(const IPC::Message& msg); 28 virtual void OnMessageReceived(const IPC::Message& msg);
29 29
30 private: 30 private:
31 // Message handlers. 31 // Message handlers.
32 void OnMsgCreate(PP_Module module, 32 void OnMsgCreate(PP_Module module,
33 int32_t size, 33 uint32_t size,
34 PP_Resource* result_resource, 34 PP_Resource* result_resource,
35 uint64_t* result_shm_handle); 35 int* result_shm_handle);
36 }; 36 };
37 37
38 } // namespace proxy 38 } // namespace proxy
39 } // namespace pp 39 } // namespace pp
40 40
41 #endif // PPAPI_PPB_BUFFER_PROXY_H_ 41 #endif // PPAPI_PPB_BUFFER_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages_internal.h ('k') | ppapi/proxy/ppb_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698