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

Unified Diff: webkit/fileapi/file_system_operation_interface.h

Issue 10825042: Implement media path filter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/file_system_operation_interface.h
diff --git a/webkit/fileapi/file_system_operation_interface.h b/webkit/fileapi/file_system_operation_interface.h
index 404c9f74e9e0a075e4fb8c06a64790b506916141..7ea0ae1f324e4bdc702be456f9fa17d025e2b8e8 100644
--- a/webkit/fileapi/file_system_operation_interface.h
+++ b/webkit/fileapi/file_system_operation_interface.h
@@ -74,12 +74,15 @@ class FileSystemOperationInterface {
base::PlatformFile file,
base::ProcessHandle peer_handle)> OpenFileCallback;
+ // Used for ReadDirectoryCallback.
+ typedef std::vector<base::FileUtilProxy::Entry> FileEntryList;
+
// Used for ReadDirectory(). |result| is the return code of the operation,
// |file_list| is the list of files read, and |has_more| is true if some files
// are yet to be read.
typedef base::Callback<
void(base::PlatformFileError result,
- const std::vector<base::FileUtilProxy::Entry>& file_list,
+ const FileEntryList& file_list,
bool has_more)> ReadDirectoryCallback;
// Used for CreateSnapshotFile(). (Please see the comment at

Powered by Google App Engine
This is Rietveld 408576698