| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL, | 115 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL, |
| 116 // Switched from local Autofill data to a Wallet account. | 116 // Switched from local Autofill data to a Wallet account. |
| 117 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET, | 117 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET, |
| 118 // Switched from one Wallet account to another one. | 118 // Switched from one Wallet account to another one. |
| 119 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT, | 119 DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT, |
| 120 | 120 |
| 121 // The sign-in UI was shown. | 121 // The sign-in UI was shown. |
| 122 DIALOG_UI_SIGNIN_SHOWN, | 122 DIALOG_UI_SIGNIN_SHOWN, |
| 123 | 123 |
| 124 // Selecting a different item from a suggestion menu dropdown: | 124 // Selecting a different item from a suggestion menu dropdown: |
| 125 DIALOG_UI_EMAIL_SELECTED_SUGGESTION_CHANGED, | 125 DEPRECATED_DIALOG_UI_EMAIL_SELECTED_SUGGESTION_CHANGED, |
| 126 DIALOG_UI_BILLING_SELECTED_SUGGESTION_CHANGED, | 126 DIALOG_UI_BILLING_SELECTED_SUGGESTION_CHANGED, |
| 127 DIALOG_UI_CC_BILLING_SELECTED_SUGGESTION_CHANGED, | 127 DIALOG_UI_CC_BILLING_SELECTED_SUGGESTION_CHANGED, |
| 128 DIALOG_UI_SHIPPING_SELECTED_SUGGESTION_CHANGED, | 128 DIALOG_UI_SHIPPING_SELECTED_SUGGESTION_CHANGED, |
| 129 DIALOG_UI_CC_SELECTED_SUGGESTION_CHANGED, | 129 DIALOG_UI_CC_SELECTED_SUGGESTION_CHANGED, |
| 130 | 130 |
| 131 // Showing the editing UI for a section of the dialog: | 131 // Showing the editing UI for a section of the dialog: |
| 132 DIALOG_UI_EMAIL_EDIT_UI_SHOWN, | 132 DEPRECATED_DIALOG_UI_EMAIL_EDIT_UI_SHOWN, |
| 133 DIALOG_UI_BILLING_EDIT_UI_SHOWN, | 133 DIALOG_UI_BILLING_EDIT_UI_SHOWN, |
| 134 DIALOG_UI_CC_BILLING_EDIT_UI_SHOWN, | 134 DIALOG_UI_CC_BILLING_EDIT_UI_SHOWN, |
| 135 DIALOG_UI_SHIPPING_EDIT_UI_SHOWN, | 135 DIALOG_UI_SHIPPING_EDIT_UI_SHOWN, |
| 136 DIALOG_UI_CC_EDIT_UI_SHOWN, | 136 DIALOG_UI_CC_EDIT_UI_SHOWN, |
| 137 | 137 |
| 138 // Adding a new item in a section of the dialog: | 138 // Adding a new item in a section of the dialog: |
| 139 DIALOG_UI_EMAIL_ITEM_ADDED, | 139 DEPRECATED_DIALOG_UI_EMAIL_ITEM_ADDED, |
| 140 DIALOG_UI_BILLING_ITEM_ADDED, | 140 DIALOG_UI_BILLING_ITEM_ADDED, |
| 141 DIALOG_UI_CC_BILLING_ITEM_ADDED, | 141 DIALOG_UI_CC_BILLING_ITEM_ADDED, |
| 142 DIALOG_UI_SHIPPING_ITEM_ADDED, | 142 DIALOG_UI_SHIPPING_ITEM_ADDED, |
| 143 DIALOG_UI_CC_ITEM_ADDED, | 143 DIALOG_UI_CC_ITEM_ADDED, |
| 144 | 144 |
| 145 NUM_DIALOG_UI_EVENTS | 145 NUM_DIALOG_UI_EVENTS |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 enum InfoBarMetric { | 148 enum InfoBarMetric { |
| 149 INFOBAR_SHOWN = 0, // We showed an infobar, e.g. prompting to save credit | 149 INFOBAR_SHOWN = 0, // We showed an infobar, e.g. prompting to save credit |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 virtual void LogServerExperimentIdForUpload( | 433 virtual void LogServerExperimentIdForUpload( |
| 434 const std::string& experiment_id) const; | 434 const std::string& experiment_id) const; |
| 435 | 435 |
| 436 private: | 436 private: |
| 437 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); | 437 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); |
| 438 }; | 438 }; |
| 439 | 439 |
| 440 } // namespace autofill | 440 } // namespace autofill |
| 441 | 441 |
| 442 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 442 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| OLD | NEW |