| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 virtual void LogAutocheckoutBuyFlowMetric( | 371 virtual void LogAutocheckoutBuyFlowMetric( |
| 372 AutocheckoutBuyFlowMetric metric) const; | 372 AutocheckoutBuyFlowMetric metric) const; |
| 373 | 373 |
| 374 virtual void LogCreditCardInfoBarMetric(InfoBarMetric metric) const; | 374 virtual void LogCreditCardInfoBarMetric(InfoBarMetric metric) const; |
| 375 | 375 |
| 376 virtual void LogDeveloperEngagementMetric( | 376 virtual void LogDeveloperEngagementMetric( |
| 377 DeveloperEngagementMetric metric) const; | 377 DeveloperEngagementMetric metric) const; |
| 378 | 378 |
| 379 virtual void LogHeuristicTypePrediction( | 379 virtual void LogHeuristicTypePrediction( |
| 380 FieldTypeQualityMetric metric, | 380 FieldTypeQualityMetric metric, |
| 381 AutofillFieldType field_type, | 381 ServerFieldType field_type, |
| 382 const std::string& experiment_id) const; | 382 const std::string& experiment_id) const; |
| 383 virtual void LogOverallTypePrediction( | 383 virtual void LogOverallTypePrediction( |
| 384 FieldTypeQualityMetric metric, | 384 FieldTypeQualityMetric metric, |
| 385 AutofillFieldType field_type, | 385 ServerFieldType field_type, |
| 386 const std::string& experiment_id) const; | 386 const std::string& experiment_id) const; |
| 387 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric, | 387 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric, |
| 388 AutofillFieldType field_type, | 388 ServerFieldType field_type, |
| 389 const std::string& experiment_id) const; | 389 const std::string& experiment_id) const; |
| 390 | 390 |
| 391 virtual void LogQualityMetric(QualityMetric metric, | 391 virtual void LogQualityMetric(QualityMetric metric, |
| 392 const std::string& experiment_id) const; | 392 const std::string& experiment_id) const; |
| 393 | 393 |
| 394 virtual void LogServerQueryMetric(ServerQueryMetric metric) const; | 394 virtual void LogServerQueryMetric(ServerQueryMetric metric) const; |
| 395 | 395 |
| 396 virtual void LogUserHappinessMetric(UserHappinessMetric metric) const; | 396 virtual void LogUserHappinessMetric(UserHappinessMetric metric) const; |
| 397 | 397 |
| 398 // Logs |state| to the dismissal states histogram for |dialog_type|. | 398 // Logs |state| to the dismissal states histogram for |dialog_type|. |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 virtual void LogServerExperimentIdForUpload( | 500 virtual void LogServerExperimentIdForUpload( |
| 501 const std::string& experiment_id) const; | 501 const std::string& experiment_id) const; |
| 502 | 502 |
| 503 private: | 503 private: |
| 504 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); | 504 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); |
| 505 }; | 505 }; |
| 506 | 506 |
| 507 } // namespace autofill | 507 } // namespace autofill |
| 508 | 508 |
| 509 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 509 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| OLD | NEW |