commit | 0b08bf2eaee22458d459ef824e644d4493b29c20 | [log] [tgz] |
---|---|---|
author | Gabriel Charette <gab@chromium.org> | Tue Aug 15 20:10:06 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 15 20:10:06 2017 |
tree | de77098b7f1eebae1441398d3fd6cce4ff210939 | |
parent | 677e791073d90814ce47b4e285e0b68d8d110ac3 [diff] |
Make profile directory creation always synchronous. This requires allowing IO on the main thread for two lightweight I/O operations (PathExists + CreateDirectory). The tradeoff is worth it as it ensures the directory is up before any of the asynchronous I/O from every service starts touching their portion of the profile directory. Sequencing all of these operations on the directory creation would be a herculian task and isn't worth it. R=rch@chromium.org NOPRESUBMIT=True (for intentional ScopedAllowIO usage) Bug: 755157, 689520 Change-Id: I81498d20e91cae79ea3a1948b3d84d255adb6bd6 Reviewed-on: https://chromium-review.googlesource.com/613683 Reviewed-by: Anthony Vallee-Dubois <anthonyvd@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#494517}
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 .