Improve PasswordStore metrics reporting
This CL does the following changes to the code used by
ChromePasswordManagerClient:
(1) Extracts its platform-independent part into the core component.
This will be useful when adding these metrics to iOS.
(2) Adds tests for that code.
(3) Replaces an obsolete guard against race-conditions with a
thread-safe singleton pattern making use of modern C++.
Bug: 887409
Change-Id: Ie9ad57d75df3bcebf491aa3f32c5f4919ca93f5b
Reviewed-on: https://chromium-review.googlesource.com/1251543
Commit-Queue: Vaclav Brozek <vabr@chromium.org>
Reviewed-by:
Vasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595489}
Showing
Please register or sign in to comment