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

Side by Side Diff: components/password_manager/core/browser/password_manager_metrics_util.h

Issue 2665313002: Add a counter for clicking on Form-Not-Secure warnings (Closed)
Patch Set: use UserActions, and separate for password/autofill Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTIL_H _ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTIL_H _
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTIL_H _ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTIL_H _
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // "unmediated" parameter of the API method. 235 // "unmediated" parameter of the API method.
236 void LogCredentialManagerGetResult(CredentialManagerGetResult result, 236 void LogCredentialManagerGetResult(CredentialManagerGetResult result,
237 CredentialManagerGetMediation status); 237 CredentialManagerGetMediation status);
238 238
239 // Log the password reuse. 239 // Log the password reuse.
240 void LogPasswordReuse(int password_length, 240 void LogPasswordReuse(int password_length,
241 int saved_passwords, 241 int saved_passwords,
242 int number_matches, 242 int number_matches,
243 bool password_field_detected); 243 bool password_field_detected);
244 244
245 // Log when the user selects the Form-Not-Secure warning to show more
vasilii 2017/02/02 13:33:01 "Login not secure"? Selects where? in the password
estark 2017/02/02 21:51:25 Just the dropdown. Clarified the comment.
246 // information about the warning.
247 void LogShowedHttpNotSecureExplanation();
248
245 } // namespace metrics_util 249 } // namespace metrics_util
246 250
247 } // namespace password_manager 251 } // namespace password_manager
248 252
249 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI L_H_ 253 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI L_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698