diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 23:59:39 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 23:59:39 +0000 |
commit | 4deeb43f8b7c1b21d3545228db86de2c73c9fd43 (patch) | |
tree | 9b44b6a5908d3948eb74d41f1dc69433c5a963d7 /ppapi/cpp | |
parent | c2a6aa323905a384677df735ccaa68ac700b1587 (diff) | |
download | chromium_src-4deeb43f8b7c1b21d3545228db86de2c73c9fd43.zip chromium_src-4deeb43f8b7c1b21d3545228db86de2c73c9fd43.tar.gz chromium_src-4deeb43f8b7c1b21d3545228db86de2c73c9fd43.tar.bz2 |
Implement proxying for FileRef and FileChooser.
This also changes the FileRef interface to remove the Query function, since
there is no close function, there's no way to cancel the current request, which
makes memory management of the info structure very difficult.
Review URL: http://codereview.chromium.org/6519057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r-- | ppapi/cpp/dev/file_ref_dev.cc | 8 | ||||
-rw-r--r-- | ppapi/cpp/dev/file_ref_dev.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/ppapi/cpp/dev/file_ref_dev.cc b/ppapi/cpp/dev/file_ref_dev.cc index 5a8caae..a6a2acf 100644 --- a/ppapi/cpp/dev/file_ref_dev.cc +++ b/ppapi/cpp/dev/file_ref_dev.cc @@ -86,14 +86,6 @@ int32_t FileRef_Dev::MakeDirectoryIncludingAncestors( cc.pp_completion_callback()); } -int32_t FileRef_Dev::Query(PP_FileInfo_Dev* result_buf, - const CompletionCallback& cc) { - if (!has_interface<PPB_FileRef_Dev>()) - return PP_ERROR_NOINTERFACE; - return get_interface<PPB_FileRef_Dev>()->Query( - pp_resource(), result_buf, cc.pp_completion_callback()); -} - int32_t FileRef_Dev::Touch(PP_Time last_access_time, PP_Time last_modified_time, const CompletionCallback& cc) { diff --git a/ppapi/cpp/dev/file_ref_dev.h b/ppapi/cpp/dev/file_ref_dev.h index 279728a..85b7545 100644 --- a/ppapi/cpp/dev/file_ref_dev.h +++ b/ppapi/cpp/dev/file_ref_dev.h @@ -52,8 +52,6 @@ class FileRef_Dev : public Resource { int32_t MakeDirectoryIncludingAncestors(const CompletionCallback& cc); - int32_t Query(PP_FileInfo_Dev* result_buf, const CompletionCallback& cc); - int32_t Touch(PP_Time last_access_time, PP_Time last_modified_time, const CompletionCallback& cc); |