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

Unified Diff: components/filesystem/directory_impl.h

Issue 1634293002: mojo filesystem: Simplify full file reading/writing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove check Created 4 years, 11 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
« no previous file with comments | « no previous file | components/filesystem/directory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/directory_impl.h
diff --git a/components/filesystem/directory_impl.h b/components/filesystem/directory_impl.h
index 1e4c903443ea3ef564d687639fd99802c50adb2e..4f5b1a4ddd5e0a9f12460d34325d9077a134f5ed 100644
--- a/components/filesystem/directory_impl.h
+++ b/components/filesystem/directory_impl.h
@@ -55,6 +55,11 @@ class DirectoryImpl : public Directory {
void IsWritable(const mojo::String& path,
const IsWritableCallback& callback) override;
void Flush(const FlushCallback& callback) override;
+ void ReadEntireFile(const mojo::String& path,
+ const ReadEntireFileCallback& callback) override;
+ void WriteFile(const mojo::String& path,
+ mojo::Array<uint8_t> data,
+ const WriteFileCallback& callback) override;
private:
mojo::StrongBinding<Directory> binding_;
« no previous file with comments | « no previous file | components/filesystem/directory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698