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

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: rebased 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 6abd88bb6d2167bfe58ac4e0460709c042ad7c2d..89e3be844be846f3132606124fa47e8a99fd99d6 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,
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_node_html5fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698