DescriptionFiles services library: Add an "output stream" file impl helper class.
Notes:
* This is an "impl" library, not a client library. I.e., it's for those
who are implementing |mojo::files::File|s, not using them. This is a
bit unusual, so maybe it should live in a subdirectory of
mojo/services/files/public/cpp or something.
* Maybe the name of the class should also have "impl" in its name, e.g.,
"OutputStreamFileImpl"? But have "impl" in a "public" class in a
library would be strange. Maybe it should live in a namespace?
Still to do (separately):
* Fill in parts of the implementation, like Dup and the data pipe write
methods.
* Add "input stream" and "input/output stream" versions of this.
* Convert things, like moterm, to use this (or an input/output version
of this). The benefit is that as the implementation of this class gets
filled in, things using it will automatically get a more complete
implementation as well.
R=vardhan@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/b8fecbf5a2ffa456a6056c2478fe9477d35ce389
Patch Set 1 #
Total comments: 1
Patch Set 2 : files_impl #
Messages
Total messages: 9 (0 generated)
|