OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" | 5 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "base/metrics/user_metrics.h" | 9 #include "base/metrics/user_metrics.h" |
10 #include "base/numerics/safe_conversions.h" | 10 #include "base/numerics/safe_conversions.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 } | 175 } |
176 | 176 |
177 void LogPasswordSuccessfulSubmissionIndicatorEvent( | 177 void LogPasswordSuccessfulSubmissionIndicatorEvent( |
178 autofill::PasswordForm::SubmissionIndicatorEvent event) { | 178 autofill::PasswordForm::SubmissionIndicatorEvent event) { |
179 UMA_HISTOGRAM_ENUMERATION( | 179 UMA_HISTOGRAM_ENUMERATION( |
180 "PasswordManager.SuccessfulSubmissionIndicatorEvent", event, | 180 "PasswordManager.SuccessfulSubmissionIndicatorEvent", event, |
181 autofill::PasswordForm::SubmissionIndicatorEvent:: | 181 autofill::PasswordForm::SubmissionIndicatorEvent:: |
182 SUBMISSION_INDICATOR_EVENT_COUNT); | 182 SUBMISSION_INDICATOR_EVENT_COUNT); |
183 } | 183 } |
184 | 184 |
| 185 void LogPasswordAcceptedSaveUpdateSubmissionIndicatorEvent( |
| 186 autofill::PasswordForm::SubmissionIndicatorEvent event) { |
| 187 UMA_HISTOGRAM_ENUMERATION( |
| 188 "PasswordManager.AcceptedSaveUpdateSubmissionIndicatorEvent", event, |
| 189 autofill::PasswordForm::SubmissionIndicatorEvent:: |
| 190 SUBMISSION_INDICATOR_EVENT_COUNT); |
| 191 } |
| 192 |
185 } // namespace metrics_util | 193 } // namespace metrics_util |
186 | 194 |
187 } // namespace password_manager | 195 } // namespace password_manager |
OLD | NEW |