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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_broker_proxy.cc ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 static PP_Resource CreateProxyResource(PP_Instance instance, 52 static PP_Resource CreateProxyResource(PP_Instance instance,
53 uint32_t size); 53 uint32_t size);
54 static PP_Resource AddProxyResource(const HostResource& resource, 54 static PP_Resource AddProxyResource(const HostResource& resource,
55 base::SharedMemoryHandle shm_handle, 55 base::SharedMemoryHandle shm_handle,
56 uint32_t size); 56 uint32_t size);
57 57
58 // InterfaceProxy implementation. 58 // InterfaceProxy implementation.
59 virtual bool OnMessageReceived(const IPC::Message& msg); 59 virtual bool OnMessageReceived(const IPC::Message& msg);
60 60
61 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_BUFFER; 61 static const ApiID kApiID = API_ID_PPB_BUFFER;
62 62
63 private: 63 private:
64 // Message handlers. 64 // Message handlers.
65 void OnMsgCreate(PP_Instance instance, 65 void OnMsgCreate(PP_Instance instance,
66 uint32_t size, 66 uint32_t size,
67 HostResource* result_resource, 67 HostResource* result_resource,
68 base::SharedMemoryHandle* result_shm_handle); 68 base::SharedMemoryHandle* result_shm_handle);
69 }; 69 };
70 70
71 } // namespace proxy 71 } // namespace proxy
72 } // namespace ppapi 72 } // namespace ppapi
73 73
74 #endif // PPAPI_PPB_BUFFER_PROXY_H_ 74 #endif // PPAPI_PPB_BUFFER_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_broker_proxy.cc ('k') | ppapi/proxy/ppb_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698