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

Unified Diff: webkit/plugins/ppapi/ppb_file_ref_impl.h

Issue 14784002: Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntries (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address dmichael's comments Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/ppb_file_ref_impl.h
diff --git a/webkit/plugins/ppapi/ppb_file_ref_impl.h b/webkit/plugins/ppapi/ppb_file_ref_impl.h
index 5d6bccf2787b48c261fcc68553388e567c5a96c7..23fce107fca0dbcc644459e55122dd196c8c5307 100644
--- a/webkit/plugins/ppapi/ppb_file_ref_impl.h
+++ b/webkit/plugins/ppapi/ppb_file_ref_impl.h
@@ -6,6 +6,7 @@
#define WEBKIT_PLUGINS_PPAPI_PPB_FILE_REF_IMPL_H_
#include <string>
+#include <vector>
#include "base/files/file_path.h"
#include "googleurl/src/gurl.h"
@@ -60,6 +61,13 @@ class WEBKIT_GLUE_EXPORT PPB_FileRef_Impl
virtual int32_t Query(
PP_FileInfo* info,
scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
+ virtual int32_t ReadEntries(
+ const PP_ArrayOutput& output,
+ scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
+ virtual int32_t ReadEntriesInHost(
+ std::vector< ::ppapi::PPB_FileRef_CreateInfo>* files,
+ std::vector<PP_FileType>* file_types,
+ scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
virtual PP_Var GetAbsolutePath();
PP_Resource file_system_resource() const { return file_system_; }

Powered by Google App Engine
This is Rietveld 408576698