| 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 #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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 class PrefService; | 10 class PrefService; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 NO_DIRECT_INTERACTION = 0, | 41 NO_DIRECT_INTERACTION = 0, |
| 42 CLICKED_SAVE, | 42 CLICKED_SAVE, |
| 43 CLICKED_NOPE, | 43 CLICKED_NOPE, |
| 44 CLICKED_NEVER, | 44 CLICKED_NEVER, |
| 45 CLICKED_MANAGE, | 45 CLICKED_MANAGE, |
| 46 CLICKED_DONE, | 46 CLICKED_DONE, |
| 47 CLICKED_UNBLACKLIST, | 47 CLICKED_UNBLACKLIST, |
| 48 CLICKED_OK, | 48 CLICKED_OK, |
| 49 CLICKED_CREDENTIAL, | 49 CLICKED_CREDENTIAL, |
| 50 AUTO_SIGNIN_TOAST_TIMEOUT, | 50 AUTO_SIGNIN_TOAST_TIMEOUT, |
| 51 AUTO_SIGNIN_TOAST_CLICKED, |
| 51 NUM_UI_RESPONSES, | 52 NUM_UI_RESPONSES, |
| 52 | 53 |
| 53 // If we add the omnibox icon _without_ intending to display the bubble, | 54 // If we add the omnibox icon _without_ intending to display the bubble, |
| 54 // we actually call Close() after creating the bubble view. We don't want | 55 // we actually call Close() after creating the bubble view. We don't want |
| 55 // that to count in the metrics, so we need this placeholder value. | 56 // that to count in the metrics, so we need this placeholder value. |
| 56 NOT_DISPLAYED | 57 NOT_DISPLAYED |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 // We monitor the performance of the save password heuristic for a handful of | 60 // We monitor the performance of the save password heuristic for a handful of |
| 60 // domains. For privacy reasons we are not reporting UMA signals by domain, but | 61 // domains. For privacy reasons we are not reporting UMA signals by domain, but |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void LogUIDismissalReason(ResponseType type); | 100 void LogUIDismissalReason(ResponseType type); |
| 100 | 101 |
| 101 // Log the appropriate display disposition. | 102 // Log the appropriate display disposition. |
| 102 void LogUIDisplayDisposition(UIDisplayDisposition disposition); | 103 void LogUIDisplayDisposition(UIDisplayDisposition disposition); |
| 103 | 104 |
| 104 } // namespace metrics_util | 105 } // namespace metrics_util |
| 105 | 106 |
| 106 } // namespace password_manager | 107 } // namespace password_manager |
| 107 | 108 |
| 108 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI
L_H_ | 109 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_METRICS_UTI
L_H_ |
| OLD | NEW |