diff options
author | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-07 18:34:40 +0000 |
---|---|---|
committer | sanga@chromium.org <sanga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-07 18:34:40 +0000 |
commit | ea505a9d49ef9770557423d2e4525d8fb91eab69 (patch) | |
tree | 7ace0236f95b3d101fd0e392d0506845c23d8223 /ppapi/proxy/ppb_file_ref_proxy.cc | |
parent | 054498a7c3951d4047812ed918c06d46b3daa6ee (diff) | |
download | chromium_src-ea505a9d49ef9770557423d2e4525d8fb91eab69.zip chromium_src-ea505a9d49ef9770557423d2e4525d8fb91eab69.tar.gz chromium_src-ea505a9d49ef9770557423d2e4525d8fb91eab69.tar.bz2 |
Migrating PPB_FileIO_Dev, PPB_FileRef_Dev, and PPB_FileSystem_Dev dependencies to PPB_FileIO, PPB_FileRef, and PPB_FileSystem.
Also fixed some lint errors.
Review URL: http://codereview.chromium.org/7248047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_file_ref_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppb_file_ref_proxy.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ppapi/proxy/ppb_file_ref_proxy.cc b/ppapi/proxy/ppb_file_ref_proxy.cc index 149e23b..de91996 100644 --- a/ppapi/proxy/ppb_file_ref_proxy.cc +++ b/ppapi/proxy/ppb_file_ref_proxy.cc @@ -4,8 +4,8 @@ #include "ppapi/proxy/ppb_file_ref_proxy.h" -#include "ppapi/c/dev/ppb_file_ref_dev.h" #include "ppapi/c/pp_errors.h" +#include "ppapi/c/ppb_file_ref.h" #include "ppapi/c/private/ppb_proxy_private.h" #include "ppapi/proxy/enter_proxy.h" #include "ppapi/proxy/host_dispatcher.h" @@ -43,7 +43,7 @@ class FileRef : public PluginResource, public PPB_FileRef_API { virtual PPB_FileRef_API* AsPPB_FileRef_API() OVERRIDE; // PPB_FileRef_API implementation. - virtual PP_FileSystemType_Dev GetFileSystemType() const OVERRIDE; + virtual PP_FileSystemType GetFileSystemType() const OVERRIDE; virtual PP_Var GetName() const OVERRIDE; virtual PP_Var GetPath() const OVERRIDE; virtual PP_Resource GetParent() OVERRIDE; @@ -57,7 +57,7 @@ class FileRef : public PluginResource, public PPB_FileRef_API { PP_CompletionCallback callback) OVERRIDE; private: - PP_FileSystemType_Dev file_system_type_; + PP_FileSystemType file_system_type_; PP_Var path_; PP_Var name_; @@ -68,7 +68,7 @@ FileRef::FileRef(const PPBFileRef_CreateInfo& info) : PluginResource(info.resource) { Dispatcher* dispatcher = PluginDispatcher::GetForInstance(instance()); - file_system_type_ = static_cast<PP_FileSystemType_Dev>(info.file_system_type); + file_system_type_ = static_cast<PP_FileSystemType>(info.file_system_type); name_ = ReceiveSerializedVarReturnValue(info.name).Return(dispatcher); path_ = ReceiveSerializedVarReturnValue(info.path).Return(dispatcher); @@ -83,7 +83,7 @@ PPB_FileRef_API* FileRef::AsPPB_FileRef_API() { return this; } -PP_FileSystemType_Dev FileRef::GetFileSystemType() const { +PP_FileSystemType FileRef::GetFileSystemType() const { return file_system_type_; } @@ -155,7 +155,7 @@ PPB_FileRef_Proxy::~PPB_FileRef_Proxy() { const InterfaceProxy::Info* PPB_FileRef_Proxy::GetInfo() { static const Info info = { ::ppapi::thunk::GetPPB_FileRef_Thunk(), - PPB_FILEREF_DEV_INTERFACE, + PPB_FILEREF_INTERFACE, INTERFACE_ID_PPB_FILE_REF, false, &CreateFileRefProxy, |