| Index: tools/gn/filesystem_utils.h
|
| diff --git a/tools/gn/filesystem_utils.h b/tools/gn/filesystem_utils.h
|
| index f53f24a3eb154e57f5a505136c565906178c187d..9878f281a3ab661d036a51a0a3a91ded8ff2f569 100644
|
| --- a/tools/gn/filesystem_utils.h
|
| +++ b/tools/gn/filesystem_utils.h
|
| @@ -175,6 +175,11 @@ bool WriteFileIfChanged(const base::FilePath& file_path,
|
| const std::string& data,
|
| Err* err);
|
|
|
| +// Writes given stream contents to the given file. Returns true if data was
|
| +// successfully written, false on write |err| is set on error if not nullptr.
|
| +bool WriteFile(const base::FilePath& file_path, const std::string& data,
|
| + Err* err);
|
| +
|
| // -----------------------------------------------------------------------------
|
|
|
| enum class BuildDirType {
|
|
|