commit | 983170a7a253fdcf92935ddddcf9f21352aef91b | [log] [tgz] |
---|---|---|
author | David Bertoni <dbertoni@chromium.org> | Mon Nov 06 15:26:13 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 06 15:26:13 2023 |
tree | 5ac6de1a2f8b0ec8f1a6c49ff96933db842aa24e | |
parent | 6093a041d1c3f2ff4e6b1aea142bb1a3658afe65 [diff] |
[Code Health] Remove uses of base::SupportsWeakPtr (/chrome/browser/sync_file_system) This CL removes uses of this deprecated base class by adding a base::WeakPtrFactory data member. In some cases, the base class was no longer being used, so it's simply removed. In some cases, it was being used as the base class for a supposed interface class. In those cases, a pure virtual member function was added so that implementation classes can have a WeakPtrFactory data member and dispense appropriate WeakPtr instances. This CL was uploaded by git cl split. R=asully@chromium.org Bug: 647430 Change-Id: Ia45c8220f2976c72247df12d98cee4a8d3073586 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5005606 Auto-Submit: David Bertoni <dbertoni@chromium.org> Reviewed-by: Austin Sullivan <asully@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1220286}
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.