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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 14784002: Move DirectoryReader::ReadEntries to FileRef::ReadDirectoryEntries (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address comments by dmichael and raymes 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: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index ecde1faf7042ecf9991cf6897588eb924ddc6d64..4699048b541ce4011f1dccf6db853b7ba721c688 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -1067,6 +1067,14 @@ bool PepperPluginDelegateImpl::Query(
return file_system_dispatcher->ReadMetadata(path, dispatcher);
}
+bool PepperPluginDelegateImpl::ReadDirectoryEntries(
+ const GURL& path,
+ fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ FileSystemDispatcher* file_system_dispatcher =
+ ChildThread::current()->file_system_dispatcher();
+ return file_system_dispatcher->ReadDirectory(path, dispatcher);
+}
+
bool PepperPluginDelegateImpl::Touch(
const GURL& path,
const base::Time& last_access_time,

Powered by Google App Engine
This is Rietveld 408576698