commit | e5a133462c168c265c30c8d71e5d6c8ce926d8a4 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Sat Sep 26 09:51:04 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Sep 26 09:51:04 2020 |
tree | f47e8b7457aa6dc0334a1afd84393c10dd2cf60f | |
parent | cc50c0ec207b86c7becd57987419179faa635090 [diff] |
Use Uri::GetDefaultPort() in Uri::Pim. Change a couple callers in Uri::Pim to use Uri::GetDefaultPort() to avoid repeating the same logic. After this, Uri::Pim no longer calls Uri::Pim::GetDefaultPorts() directly, and all the direct usage is in uri.cc. So move Uri::Pim::GetDefaultPorts() into an anonymous namespace in uri.cc. Change-Id: I87bd0d882775fd31b3d20524b53d63c7483b42f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427624 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Piotr Pawliczek <pawliczek@chromium.org> Cr-Commit-Position: refs/heads/master@{#810969}
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.