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

Unified Diff: components/filesystem/directory_impl.h

Issue 1942473002: Eliminate mojo:resource_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: components/filesystem/directory_impl.h
diff --git a/components/filesystem/directory_impl.h b/components/filesystem/directory_impl.h
index d88773a5ad143f96199396a57296217f594a01b0..292560540f819915663466117e3f61a6acd8b6ea 100644
--- a/components/filesystem/directory_impl.h
+++ b/components/filesystem/directory_impl.h
@@ -44,6 +44,8 @@ class DirectoryImpl : public Directory {
void OpenFileHandle(const mojo::String& path,
uint32_t open_flags,
const OpenFileHandleCallback& callback) override;
+ void OpenFileHandles(mojo::Array<FileOpenDetailsPtr> details,
+ const OpenFileHandlesCallback& callback) override;
void OpenDirectory(const mojo::String& path,
mojo::InterfaceRequest<Directory> directory,
uint32_t open_flags,
@@ -69,6 +71,10 @@ class DirectoryImpl : public Directory {
const WriteFileCallback& callback) override;
private:
+ mojo::ScopedHandle OpenFileHandleImpl(const mojo::String& raw_path,
+ uint32_t open_flags,
+ FileError* error);
+
mojo::StrongBinding<Directory> binding_;
base::FilePath directory_path_;
scoped_refptr<SharedTempDir> temp_dir_;

Powered by Google App Engine
This is Rietveld 408576698