Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Unified Diff: components/password_manager/sync/browser/sync_credentials_filter.h

Issue 2220423002: Fix sync-credential-related metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/sync/browser/sync_credentials_filter.h
diff --git a/components/password_manager/sync/browser/sync_credentials_filter.h b/components/password_manager/sync/browser/sync_credentials_filter.h
index 019a28c2c318ac6b3790e186c364ecad1edacb0d..4ad64f31db77a87ca449062b09a88fd029931906 100644
--- a/components/password_manager/sync/browser/sync_credentials_filter.h
+++ b/components/password_manager/sync/browser/sync_credentials_filter.h
@@ -41,7 +41,8 @@ class SyncCredentialsFilter : public CredentialsFilter {
ScopedVector<autofill::PasswordForm> FilterResults(
ScopedVector<autofill::PasswordForm> results) const override;
bool ShouldSave(const autofill::PasswordForm& form) const override;
- void ReportFormUsed(const autofill::PasswordForm& form) const override;
+ void ReportFormLoginSuccess(
+ const PasswordFormManager& form_manager) const override;
private:
enum AutofillForSyncCredentialsState {

Powered by Google App Engine
This is Rietveld 408576698