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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 7248047: Migrating PPB_FileIO_Dev, PPB_FileRef_Dev, and PPB_FileSystem_Dev dependencies to PPB_FileIO, PPB... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/resource_creation_proxy.h ('k') | ppapi/proxy/serialized_structs.h » ('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 #include "ppapi/proxy/resource_creation_proxy.h" 5 #include "ppapi/proxy/resource_creation_proxy.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/pp_size.h" 8 #include "ppapi/c/pp_size.h"
9 #include "ppapi/proxy/host_resource.h" 9 #include "ppapi/proxy/host_resource.h"
10 #include "ppapi/proxy/interface_id.h" 10 #include "ppapi/proxy/interface_id.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return 0; 117 return 0;
118 } 118 }
119 119
120 PP_Resource ResourceCreationProxy::CreateFileRef(PP_Resource file_system, 120 PP_Resource ResourceCreationProxy::CreateFileRef(PP_Resource file_system,
121 const char* path) { 121 const char* path) {
122 return PPB_FileRef_Proxy::CreateProxyResource(file_system, path); 122 return PPB_FileRef_Proxy::CreateProxyResource(file_system, path);
123 } 123 }
124 124
125 PP_Resource ResourceCreationProxy::CreateFileSystem( 125 PP_Resource ResourceCreationProxy::CreateFileSystem(
126 PP_Instance instance, 126 PP_Instance instance,
127 PP_FileSystemType_Dev type) { 127 PP_FileSystemType type) {
128 return PPB_FileSystem_Proxy::CreateProxyResource(instance, type); 128 return PPB_FileSystem_Proxy::CreateProxyResource(instance, type);
129 } 129 }
130 130
131 PP_Resource ResourceCreationProxy::CreateFlashMenu( 131 PP_Resource ResourceCreationProxy::CreateFlashMenu(
132 PP_Instance instance, 132 PP_Instance instance,
133 const PP_Flash_Menu* menu_data) { 133 const PP_Flash_Menu* menu_data) {
134 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); 134 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data);
135 } 135 }
136 136
137 PP_Resource ResourceCreationProxy::CreateFlashNetConnector( 137 PP_Resource ResourceCreationProxy::CreateFlashNetConnector(
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); 307 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false);
308 #else 308 #else
309 *result_image_handle = ImageData::HandleFromInt(handle); 309 *result_image_handle = ImageData::HandleFromInt(handle);
310 #endif 310 #endif
311 } 311 }
312 } 312 }
313 } 313 }
314 314
315 } // namespace proxy 315 } // namespace proxy
316 } // namespace pp 316 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/proxy/serialized_structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698