diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 03:25:24 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 03:25:24 +0000 |
commit | d146b8bf4a1ed1860452e0ebdeb9c52c135226e2 (patch) | |
tree | 27012d7f0c43fdfe8dacab51ddfdd9861a9fae7c /ppapi/proxy/resource_message_params.cc | |
parent | f121ad61e72e32caf56df8732f2eee90343781b1 (diff) | |
download | chromium_src-d146b8bf4a1ed1860452e0ebdeb9c52c135226e2.zip chromium_src-d146b8bf4a1ed1860452e0ebdeb9c52c135226e2.tar.gz chromium_src-d146b8bf4a1ed1860452e0ebdeb9c52c135226e2.tar.bz2 |
Revert 171080
> The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal.
>
> Review URL: https://codereview.chromium.org/11359097
TBR=raymes@chromium.org
Review URL: https://codereview.chromium.org/11437038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_message_params.cc')
-rw-r--r-- | ppapi/proxy/resource_message_params.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ppapi/proxy/resource_message_params.cc b/ppapi/proxy/resource_message_params.cc index 49b6328..aaca8c9 100644 --- a/ppapi/proxy/resource_message_params.cc +++ b/ppapi/proxy/resource_message_params.cc @@ -91,17 +91,6 @@ bool ResourceMessageParams::TakeSocketHandleAtIndex( return true; } -bool ResourceMessageParams::TakeFileHandleAtIndex( - size_t index, - IPC::PlatformFileForTransit* handle) const { - SerializedHandle serialized = TakeHandleOfTypeAtIndex( - index, SerializedHandle::FILE); - if (!serialized.is_file()) - return false; - *handle = serialized.descriptor(); - return true; -} - void ResourceMessageParams::TakeAllSharedMemoryHandles( std::vector<base::SharedMemoryHandle>* handles) const { for (size_t i = 0; i < handles_->data().size(); ++i) { |