Revert "Check reauth status before attempting upload" This reverts commit 70b1a7209cd67d82b50785d7ffa89a3bae895649. Reason for revert: A test introduced by this change causes CI failures. https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20ChromiumOS%20MSan%20Tests The faulty test is OneDriveUploadHandlerTest FailToStartUploadDueToReauthenticationRequired. Original change's description: > Check reauth status before attempting upload > > Better to first check if we already are in the reauth required state, > because then we know we will fail to upload. > > Add a new UMA to indicate we've bailed out at this early stage, so > we can count these directly, rather than try to get them out of > ODFS metrics for GetMetadata, CreateFile etc. which upload will > eventually cause. > > Bug: none > Change-Id: I4a09ef4f441688e682687ab980503ae9000bcc6d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4995650 > Commit-Queue: Peter Marshall <petermarshall@chromium.org> > Reviewed-by: Cassy Chun-Crogan <cassycc@google.com> > Cr-Commit-Position: refs/heads/main@{#1219303} Bug: 1499287 Change-Id: Ibd95231b89c469982d785522ad0ca984db65b35f No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5002591 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Yann Dago <ydago@chromium.org> Owners-Override: Yann Dago <ydago@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1219511}
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.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.