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

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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 return 0; 116 return 0;
117 } 117 }
118 118
119 PP_Resource ResourceCreationProxy::CreateFileRef(PP_Resource file_system, 119 PP_Resource ResourceCreationProxy::CreateFileRef(PP_Resource file_system,
120 const char* path) { 120 const char* path) {
121 return PPB_FileRef_Proxy::CreateProxyResource(file_system, path); 121 return PPB_FileRef_Proxy::CreateProxyResource(file_system, path);
122 } 122 }
123 123
124 PP_Resource ResourceCreationProxy::CreateFileSystem( 124 PP_Resource ResourceCreationProxy::CreateFileSystem(
125 PP_Instance instance, 125 PP_Instance instance,
126 PP_FileSystemType_Dev type) { 126 PP_FileSystemType type) {
127 return PPB_FileSystem_Proxy::CreateProxyResource(instance, type); 127 return PPB_FileSystem_Proxy::CreateProxyResource(instance, type);
128 } 128 }
129 129
130 PP_Resource ResourceCreationProxy::CreateFlashMenu( 130 PP_Resource ResourceCreationProxy::CreateFlashMenu(
131 PP_Instance instance, 131 PP_Instance instance,
132 const PP_Flash_Menu* menu_data) { 132 const PP_Flash_Menu* menu_data) {
133 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); 133 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data);
134 } 134 }
135 135
136 PP_Resource ResourceCreationProxy::CreateFlashNetConnector( 136 PP_Resource ResourceCreationProxy::CreateFlashNetConnector(
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); 301 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false);
302 #else 302 #else
303 *result_image_handle = ImageData::HandleFromInt(handle); 303 *result_image_handle = ImageData::HandleFromInt(handle);
304 #endif 304 #endif
305 } 305 }
306 } 306 }
307 } 307 }
308 308
309 } // namespace proxy 309 } // namespace proxy
310 } // namespace pp 310 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698