commit | f75f5fb6b10f0824a87fc4c835a760dba89a5aa3 | [log] [tgz] |
---|---|---|
author | Greg Thompson <grt@chromium.org> | Thu Apr 30 08:13:25 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 30 08:13:25 2020 |
tree | 55640a2504f81286594add3fa50ac7e50c08c6a9 | |
parent | 9ebccc33583077d1b487fd46d2d3c41777873b9a [diff] |
ImportantFileWriter: Fix races part 1. This CL renames CreateAndOpenTemporaryFile{,InDir} to CreateAndOpenTemporaryStream{,InDir} and changes the return type to a ScopedFILE. As a result, the name "CreateAndOpenTemporaryFile" is now available for a future function that returns a base::File. BUG=1075917 TBR=jam@chromium.org Change-Id: Ib79613ed63e552df5c13d2e4e7078e0c16b42b5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2166175 Commit-Queue: Greg Thompson <grt@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#764175}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.