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

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: rebase fixup again 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // "unmediated" parameter of the API method. 238 // "unmediated" parameter of the API method.
239 void LogCredentialManagerGetResult(CredentialManagerGetResult result, 239 void LogCredentialManagerGetResult(CredentialManagerGetResult result,
240 CredentialManagerGetMediation status); 240 CredentialManagerGetMediation status);
241 241
242 // Log the password reuse. 242 // Log the password reuse.
243 void LogPasswordReuse(int password_length, 243 void LogPasswordReuse(int password_length,
244 int saved_passwords, 244 int saved_passwords,
245 int number_matches, 245 int number_matches,
246 bool password_field_detected); 246 bool password_field_detected);
247 247
248 // Log when the user selects the "Login not secure" warning in the password
249 // autofill dropdown to show more information about the warning.
250 void LogShowedHttpNotSecureExplanation();
251
248 } // namespace metrics_util 252 } // namespace metrics_util
249 253
250 } // namespace password_manager 254 } // namespace password_manager
251 255
252 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI L_H_ 256 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI L_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698