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_image_data_proxy.h

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some proxy changes that aren't necessary now Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_IMAGE_DATA_PROXY_H_ 5 #ifndef PPAPI_PPB_IMAGE_DATA_PROXY_H_
6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_ 6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 PP_Bool init_to_zero, 106 PP_Bool init_to_zero,
107 HostResource* result, 107 HostResource* result,
108 std::string* image_data_desc, 108 std::string* image_data_desc,
109 ImageHandle* result_image_handle); 109 ImageHandle* result_image_handle);
110 void OnHostMsgCreateNaCl(PP_Instance instance, 110 void OnHostMsgCreateNaCl(PP_Instance instance,
111 int32_t format, 111 int32_t format,
112 const PP_Size& size, 112 const PP_Size& size,
113 PP_Bool init_to_zero, 113 PP_Bool init_to_zero,
114 HostResource* result, 114 HostResource* result,
115 std::string* image_data_desc, 115 std::string* image_data_desc,
116 base::SharedMemoryHandle* result_image_handle); 116 ppapi::proxy::SerializedHandle* result_image_handle);
117 117
118 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); 118 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy);
119 }; 119 };
120 120
121 } // namespace proxy 121 } // namespace proxy
122 } // namespace ppapi 122 } // namespace ppapi
123 123
124 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ 124 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698