Index: components/password_manager/core/browser/password_manager_metrics_util.h |
diff --git a/components/password_manager/core/browser/password_manager_metrics_util.h b/components/password_manager/core/browser/password_manager_metrics_util.h |
index 20ba9cfcb4d85b6c431532e2d79864a7f4358bd0..29f7afeb0ba91372657301c1522e8f8e26a11473 100644 |
--- a/components/password_manager/core/browser/password_manager_metrics_util.h |
+++ b/components/password_manager/core/browser/password_manager_metrics_util.h |
@@ -10,6 +10,7 @@ |
#include <string> |
#include "components/autofill/core/common/password_form.h" |
+#include "components/password_manager/core/common/credential_manager_types.h" |
namespace password_manager { |
@@ -170,11 +171,6 @@ enum CredentialManagerGetResult { |
CREDENTIAL_MANAGER_GET_COUNT |
}; |
-enum CredentialManagerGetMediation { |
- CREDENTIAL_MANAGER_GET_MEDIATED, |
- CREDENTIAL_MANAGER_GET_UNMEDIATED |
-}; |
- |
// Metrics: "PasswordManager.HttpPasswordMigrationMode" |
enum HttpPasswordMigrationMode { |
HTTP_PASSWORD_MIGRATION_MODE_MOVE, |
@@ -248,9 +244,9 @@ void LogAccountChooserUsability(AccountChooserUsabilityMetric usability, |
int count_accounts); |
// Log the result of navigator.credentials.get. |status| specifies the |
vasilii
2017/05/18 12:34:03
Not |status| anymore.
jdoerrie
2017/05/18 14:57:25
Acknowledged, I'll drop it. '|mediation| specifies
|
-// "unmediated" parameter of the API method. |
+// "mediation" parameter of the API method. |
void LogCredentialManagerGetResult(CredentialManagerGetResult result, |
- CredentialManagerGetMediation status); |
+ CredentialMediationRequirement mediation); |
// Log the password reuse. |
void LogPasswordReuse(int password_length, |