| commit | c9748d15ca14f29afc4bfaa4e227b09af53e8488 | [log] [tgz] |
|---|---|---|
| author | andrewxu <andrewxu@chromium.org> | Fri May 26 16:41:54 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 16:41:54 2023 |
| tree | 2fd6e5e8444126738921f8c651490c2ead604714 | |
| parent | fd0ad336980524425ba42ad0c1351006b1523867 [diff] |
[Multipaste] Refactor clipboard nudge controller This CL refactors `ClipboardNudgeController` to improve code readability. In detail, this CL does the following things: 1. Rename `TimeMetricHelper` to `NudgeTimeDeltaRecorder`. Also rename some member functions. 2. Reorder member functions of `ClipboardNudgeController` to follow the coding style. 3. Remove ClipboardState::kShouldShowNudge because it is never used in the product code. Bug: b/283315032 Change-Id: I6c910c2b5b14fde94df9cf8f6df042726483a997 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4552898 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by: Colin Kincaid <ckincaid@chromium.org> Cr-Commit-Position: refs/heads/main@{#1149745}
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.