| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS, | 303 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS, |
| 304 VERIFY_CVV, | 304 VERIFY_CVV, |
| 305 INVALID_FORM_FIELD, | 305 INVALID_FORM_FIELD, |
| 306 REQUIRE_PHONE_NUMBER, | 306 REQUIRE_PHONE_NUMBER, |
| 307 NUM_WALLET_REQUIRED_ACTIONS | 307 NUM_WALLET_REQUIRED_ACTIONS |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 AutofillMetrics(); | 310 AutofillMetrics(); |
| 311 virtual ~AutofillMetrics(); | 311 virtual ~AutofillMetrics(); |
| 312 | 312 |
| 313 static void LogCreditCardInfoBarMetric(InfoBarMetric metric); | 313 virtual void LogCreditCardInfoBarMetric(InfoBarMetric metric) const; |
| 314 | 314 |
| 315 virtual void LogDeveloperEngagementMetric( | 315 virtual void LogDeveloperEngagementMetric( |
| 316 DeveloperEngagementMetric metric) const; | 316 DeveloperEngagementMetric metric) const; |
| 317 | 317 |
| 318 virtual void LogHeuristicTypePrediction(FieldTypeQualityMetric metric, | 318 virtual void LogHeuristicTypePrediction(FieldTypeQualityMetric metric, |
| 319 ServerFieldType field_type) const; | 319 ServerFieldType field_type) const; |
| 320 virtual void LogOverallTypePrediction(FieldTypeQualityMetric metric, | 320 virtual void LogOverallTypePrediction(FieldTypeQualityMetric metric, |
| 321 ServerFieldType field_type) const; | 321 ServerFieldType field_type) const; |
| 322 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric, | 322 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric, |
| 323 ServerFieldType field_type) const; | 323 ServerFieldType field_type) const; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // form. | 411 // form. |
| 412 virtual void LogAddressSuggestionsCount(size_t num_suggestions) const; | 412 virtual void LogAddressSuggestionsCount(size_t num_suggestions) const; |
| 413 | 413 |
| 414 private: | 414 private: |
| 415 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); | 415 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); |
| 416 }; | 416 }; |
| 417 | 417 |
| 418 } // namespace autofill | 418 } // namespace autofill |
| 419 | 419 |
| 420 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 420 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| OLD | NEW |