LGTM % comments below - but fixing them will cause you to lose the +1 anyway... :/
std::unique_ptr<device_reauth::DeviceAuthenticator> GetDeviceAuthenticator(Please fix this WARNING reported by ClangTidy: check: google-default-arguments
default arguments on virtual or override method...
check: google-default-arguments
default arguments on virtual or override methods are prohibited (https://clang.llvm.org/extra/clang-tidy/checks/google/default-arguments.html)
(Note: You can add `Skip-Clang-Tidy-Checks: google-default-arguments` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel`, but not on `linux-clang-tidy-rel`)
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);`std::move(...)`
const std::string& histogram,Please pass a `std::string` and move it into the call below to avoid a copy.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
std::unique_ptr<device_reauth::DeviceAuthenticator> GetDeviceAuthenticator(Please fix this WARNING reported by ClangTidy: check: google-default-arguments
default arguments on virtual or override method...
check: google-default-arguments
default arguments on virtual or override methods are prohibited (https://clang.llvm.org/extra/clang-tidy/checks/google/default-arguments.html)
(Note: You can add `Skip-Clang-Tidy-Checks: google-default-arguments` footer to the CL description to skip the check)
(Lint observed on `android-clang-tidy-rel`, but not on `linux-clang-tidy-rel`)
Done
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);Bruno Braga`std::move(...)`
Done
Please pass a `std::string` and move it into the call below to avoid a copy.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);`std::move(histogram)`
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);`std::move(histogram)`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);Bruno Braga`std::move(histogram)`
Done
base::Seconds(60), device_reauth::DeviceAuthSource::kAutofill, histogram);Bruno Braga`std::move(histogram)`
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Autofill AI - Reauth] Log reauth on filling metrics
This change involves:
1. Updating the GetDeviceAuthenticator method to receive an optional
histogram string that is passed on the the instance of the device
authenticator.
2. Use this new parameter during the filling moment.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |