/external/chromium/chrome/browser/autofill/ |
D | autofill_metrics_unittest.cc | 29 class MockAutofillMetrics : public AutofillMetrics { 272 Log(AutofillMetrics::FIELD_SUBMITTED, std::string())); in TEST_F() 274 Log(AutofillMetrics::HEURISTIC_TYPE_MATCH, in TEST_F() 277 Log(AutofillMetrics::SERVER_TYPE_MISMATCH, in TEST_F() 280 Log(AutofillMetrics::PREDICTED_TYPE_MISMATCH, in TEST_F() 283 Log(AutofillMetrics::FIELD_AUTOFILLED, std::string())); in TEST_F() 286 Log(AutofillMetrics::FIELD_SUBMITTED, std::string())); in TEST_F() 288 Log(AutofillMetrics::HEURISTIC_TYPE_MISMATCH, in TEST_F() 291 Log(AutofillMetrics::SERVER_TYPE_MATCH, in TEST_F() 294 Log(AutofillMetrics::PREDICTED_TYPE_MATCH, in TEST_F() [all …]
|
D | autofill_metrics.cc | 172 AutofillMetrics::AutofillMetrics() { in AutofillMetrics() function in AutofillMetrics 175 AutofillMetrics::~AutofillMetrics() { in ~AutofillMetrics() 178 void AutofillMetrics::Log(CreditCardInfoBarMetric metric) const { in Log() 185 void AutofillMetrics::Log(HeuristicTypeQualityMetric metric, in Log() 193 void AutofillMetrics::Log(PredictedTypeQualityMetric metric, in Log() 201 void AutofillMetrics::Log(QualityMetric metric, in Log() 212 void AutofillMetrics::Log(ServerQueryMetric metric) const { in Log() 219 void AutofillMetrics::Log(ServerTypeQualityMetric metric, in Log() 227 void AutofillMetrics::LogIsAutofillEnabledAtStartup(bool enabled) const { in LogIsAutofillEnabledAtStartup() 231 void AutofillMetrics::LogIsAutofillEnabledAtPageLoad(bool enabled) const { in LogIsAutofillEnabledAtPageLoad() [all …]
|
D | autofill_cc_infobar_delegate.cc | 21 const AutofillMetrics* metric_logger) in AutofillCCInfoBarDelegate() 27 metric_logger_->Log(AutofillMetrics::CREDIT_CARD_INFOBAR_SHOWN); in AutofillCCInfoBarDelegate() 34 AutofillMetrics::CreditCardInfoBarMetric user_action) { in LogUserAction() 51 LogUserAction(AutofillMetrics::CREDIT_CARD_INFOBAR_IGNORED); in InfoBarClosed() 57 LogUserAction(AutofillMetrics::CREDIT_CARD_INFOBAR_DENIED); in InfoBarDismissed() 80 LogUserAction(AutofillMetrics::CREDIT_CARD_INFOBAR_ACCEPTED); in Accept() 85 LogUserAction(AutofillMetrics::CREDIT_CARD_INFOBAR_DENIED); in Cancel()
|
D | form_structure.cc | 207 const AutofillMetrics& metric_logger) { in ParseQueryResponse() 208 metric_logger.Log(AutofillMetrics::QUERY_RESPONSE_RECEIVED); in ParseQueryResponse() 220 metric_logger.Log(AutofillMetrics::QUERY_RESPONSE_PARSED); in ParseQueryResponse() 267 AutofillMetrics::ServerQueryMetric metric; in ParseQueryResponse() 270 metric = AutofillMetrics::QUERY_RESPONSE_OVERRODE_LOCAL_HEURISTICS; in ParseQueryResponse() 272 metric = AutofillMetrics::QUERY_RESPONSE_WITH_NO_LOCAL_HEURISTICS; in ParseQueryResponse() 275 metric = AutofillMetrics::QUERY_RESPONSE_MATCHED_LOCAL_HEURISTICS; in ParseQueryResponse() 356 const AutofillMetrics& metric_logger) const { in LogQualityMetrics() 360 metric_logger.Log(AutofillMetrics::FIELD_SUBMITTED, experiment_id); in LogQualityMetrics() 399 metric_logger.Log(AutofillMetrics::HEURISTIC_TYPE_UNKNOWN, in LogQualityMetrics() [all …]
|
D | autofill_metrics.h | 15 class AutofillMetrics { 93 AutofillMetrics(); 94 virtual ~AutofillMetrics(); 124 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
|
D | autofill_cc_infobar_delegate.h | 30 const AutofillMetrics* metric_logger); 35 void LogUserAction(AutofillMetrics::CreditCardInfoBarMetric user_action); 60 const AutofillMetrics* metric_logger_;
|
D | autofill_download_unittest.cc | 30 class MockAutofillMetrics : public AutofillMetrics { 205 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(2); in TEST_F() 309 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 328 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(0); in TEST_F() 442 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 460 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 469 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 487 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 503 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 507 EXPECT_CALL(mock_metric_logger, Log(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() [all …]
|
D | personal_data_manager.h | 27 class AutofillMetrics; variable 226 const AutofillMetrics* metric_logger() const; 227 void set_metric_logger(const AutofillMetrics* metric_logger); 264 scoped_ptr<const AutofillMetrics> metric_logger_;
|
D | form_structure.h | 34 class AutofillMetrics; variable 64 const AutofillMetrics& metric_logger); 92 void LogQualityMetrics(const AutofillMetrics& metric_logger) const;
|
/external/chromium_org/components/autofill/core/browser/ |
D | autofill_metrics.cc | 177 AutofillMetrics::WalletApiCallMetric metric) { in WalletApiMetricToString() 179 case AutofillMetrics::ACCEPT_LEGAL_DOCUMENTS: in WalletApiMetricToString() 181 case AutofillMetrics::AUTHENTICATE_INSTRUMENT: in WalletApiMetricToString() 183 case AutofillMetrics::GET_FULL_WALLET: in WalletApiMetricToString() 185 case AutofillMetrics::GET_WALLET_ITEMS: in WalletApiMetricToString() 187 case AutofillMetrics::SAVE_TO_WALLET: in WalletApiMetricToString() 189 case AutofillMetrics::UNKNOWN_API_CALL: in WalletApiMetricToString() 190 case AutofillMetrics::NUM_WALLET_API_CALLS: in WalletApiMetricToString() 322 AutofillMetrics::AutofillMetrics() { in AutofillMetrics() function in autofill::AutofillMetrics 325 AutofillMetrics::~AutofillMetrics() { in ~AutofillMetrics() [all …]
|
D | autofill_metrics_unittest.cc | 46 class MockAutofillMetrics : public AutofillMetrics { 204 return static_cast<MockAutofillMetrics*>(const_cast<AutofillMetrics*>( in metric_logger() 315 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_SHOWN)); in CreateDelegate() 386 LogQualityMetric(AutofillMetrics::FIELD_SUBMITTED, in TEST_F() 389 LogHeuristicTypePrediction(AutofillMetrics::TYPE_MATCH, in TEST_F() 392 LogServerTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F() 395 LogOverallTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F() 398 LogQualityMetric(AutofillMetrics::FIELD_AUTOFILLED, in TEST_F() 402 LogQualityMetric(AutofillMetrics::FIELD_SUBMITTED, in TEST_F() 405 LogHeuristicTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F() [all …]
|
D | form_structure.cc | 372 const AutofillMetrics& metric_logger) { in DetermineHeuristicTypes() 398 AutofillMetrics::FILLABLE_FORM_PARSED); in DetermineHeuristicTypes() 401 AutofillMetrics::FILLABLE_FORM_CONTAINS_TYPE_HINTS); in DetermineHeuristicTypes() 531 const AutofillMetrics& metric_logger) { in ParseQueryResponse() 532 metric_logger.LogServerQueryMetric(AutofillMetrics::QUERY_RESPONSE_RECEIVED); in ParseQueryResponse() 546 metric_logger.LogServerQueryMetric(AutofillMetrics::QUERY_RESPONSE_PARSED); in ParseQueryResponse() 593 AutofillMetrics::ServerQueryMetric metric; in ParseQueryResponse() 596 metric = AutofillMetrics::QUERY_RESPONSE_OVERRODE_LOCAL_HEURISTICS; in ParseQueryResponse() 598 metric = AutofillMetrics::QUERY_RESPONSE_WITH_NO_LOCAL_HEURISTICS; in ParseQueryResponse() 601 metric = AutofillMetrics::QUERY_RESPONSE_MATCHED_LOCAL_HEURISTICS; in ParseQueryResponse() [all …]
|
D | autofill_download_unittest.cc | 32 class MockAutofillMetrics : public AutofillMetrics { 202 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 294 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 311 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(0); in TEST_F() 408 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 424 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 434 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 450 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 464 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() 469 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F() [all …]
|
D | form_structure.h | 41 class AutofillMetrics; variable 55 void DetermineHeuristicTypes(const AutofillMetrics& metric_logger); 83 const AutofillMetrics& metric_logger); 124 void LogQualityMetrics(const AutofillMetrics& metric_logger,
|
D | autofill_metrics.h | 21 class AutofillMetrics { 328 AutofillMetrics(); 329 virtual ~AutofillMetrics(); 449 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
D | wallet_client_unittest.cc | 578 class MockAutofillMetrics : public AutofillMetrics { 601 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE { in GetMetricLogger() 622 AutofillMetrics::WalletApiCallMetric metric, in ExpectLogWalletApiCallDuration() 629 AutofillMetrics::WalletApiCallMetric metric) { in ExpectLogWalletMalformedResponse() 634 void ExpectWalletErrorMetric(AutofillMetrics::WalletErrorMetric metric) { in ExpectWalletErrorMetric() 639 AutofillMetrics::WalletRequiredActionMetric metric) { in ExpectWalletRequiredActionMetric() 648 AutofillMetrics::WALLET_ERROR_BASELINE_ISSUED_REQUEST)) in ExpectBaselineMetrics() 651 AutofillMetrics::WALLET_REQUIRED_ACTION_BASELINE_ISSUED_REQUEST); in ExpectBaselineMetrics() 792 AutofillMetrics::WalletErrorMetric expected_autofill_metric) { in TestWalletErrorCode() 819 AutofillMetrics::GET_WALLET_ITEMS, 1); in TestWalletErrorCode() [all …]
|
D | wallet_client.cc | 144 AutofillMetrics::WalletErrorMetric ErrorTypeToUmaMetric( in ErrorTypeToUmaMetric() 148 return AutofillMetrics::WALLET_BAD_REQUEST; in ErrorTypeToUmaMetric() 150 return AutofillMetrics::WALLET_BUYER_LEGAL_ADDRESS_NOT_SUPPORTED; in ErrorTypeToUmaMetric() 152 return AutofillMetrics::WALLET_BUYER_ACCOUNT_ERROR; in ErrorTypeToUmaMetric() 154 return AutofillMetrics::WALLET_INTERNAL_ERROR; in ErrorTypeToUmaMetric() 156 return AutofillMetrics::WALLET_INVALID_PARAMS; in ErrorTypeToUmaMetric() 158 return AutofillMetrics::WALLET_UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS; in ErrorTypeToUmaMetric() 160 return AutofillMetrics::WALLET_SERVICE_UNAVAILABLE; in ErrorTypeToUmaMetric() 162 return AutofillMetrics::WALLET_UNSUPPORTED_API_VERSION; in ErrorTypeToUmaMetric() 164 return AutofillMetrics::WALLET_UNSUPPORTED_MERCHANT; in ErrorTypeToUmaMetric() [all …]
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_dialog_common.cc | 170 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent( in DialogSectionToUiItemAddedEvent() 174 return AutofillMetrics::DIALOG_UI_BILLING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent() 177 return AutofillMetrics::DIALOG_UI_CC_BILLING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent() 180 return AutofillMetrics::DIALOG_UI_SHIPPING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent() 183 return AutofillMetrics::DIALOG_UI_CC_ITEM_ADDED; in DialogSectionToUiItemAddedEvent() 187 return AutofillMetrics::NUM_DIALOG_UI_EVENTS; in DialogSectionToUiItemAddedEvent() 190 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( in DialogSectionToUiSelectionChangedEvent() 194 return AutofillMetrics::DIALOG_UI_BILLING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent() 197 return AutofillMetrics::DIALOG_UI_CC_BILLING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent() 200 return AutofillMetrics::DIALOG_UI_SHIPPING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent() [all …]
|
D | account_chooser_model.cc | 33 const AutofillMetrics& metric_logger) in AccountChooserModel() 124 AutofillMetrics::DialogUiEvent chooser_event; in ExecuteCommand() 127 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL; in ExecuteCommand() 130 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_TRIED_TO_ADD_ACCOUNT; in ExecuteCommand() 133 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET; in ExecuteCommand() 136 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT; in ExecuteCommand()
|
D | account_chooser_model.h | 17 class AutofillMetrics; variable 57 const AutofillMetrics& metric_logger); 131 const AutofillMetrics& metric_logger_;
|
D | autofill_dialog_common.h | 41 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent( 46 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent(
|
/external/chromium_org/chrome/browser/autofill/ |
D | autofill_cc_infobar_delegate.cc | 26 const AutofillMetrics* metric_logger, in Create() 34 const AutofillMetrics* metric_logger, in AutofillCCInfoBarDelegate() 40 metric_logger->LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_SHOWN); in AutofillCCInfoBarDelegate() 45 LogUserAction(AutofillMetrics::INFOBAR_IGNORED); in ~AutofillCCInfoBarDelegate() 49 AutofillMetrics::InfoBarMetric user_action) { in LogUserAction() 57 LogUserAction(AutofillMetrics::INFOBAR_DENIED); in InfoBarDismissed() 89 LogUserAction(AutofillMetrics::INFOBAR_ACCEPTED); in Accept() 94 LogUserAction(AutofillMetrics::INFOBAR_DENIED); in Cancel()
|
D | autofill_cc_infobar_delegate.h | 33 const AutofillMetrics* metric_logger, 38 const AutofillMetrics* metric_logger, in Create() 46 AutofillCCInfoBarDelegate(const AutofillMetrics* metric_logger, 50 void LogUserAction(AutofillMetrics::InfoBarMetric user_action); 67 const AutofillMetrics* metric_logger_;
|
/external/chromium_org/chrome/browser/ui/android/autofill/ |
D | autofill_dialog_controller_android.cc | 219 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_SHOWN); in Show() 222 AutofillMetrics::SECURITY_METRIC_DIALOG_SHOWN); in Show() 226 AutofillMetrics::SECURITY_METRIC_CREDIT_CARD_OVER_HTTP); in Show() 231 AutofillMetrics::SECURITY_METRIC_CROSS_ORIGIN_FRAME); in Show() 405 initial_user_state_(AutofillMetrics::DIALOG_USER_STATE_UNKNOWN), in AutofillDialogControllerAndroid() 435 AutofillMetrics::DIALOG_ACCEPTED); in LogOnFinishSubmitMetrics() 437 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_ACCEPTED); in LogOnFinishSubmitMetrics() 443 AutofillMetrics::DIALOG_CANCELED); in LogOnCancelMetrics() 445 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_CANCELED); in LogOnCancelMetrics()
|
D | autofill_dialog_controller_android.h | 59 const AutofillMetrics& GetMetricLogger() const { in GetMetricLogger() 79 const AutofillMetrics metric_logger_; 81 AutofillMetrics::DialogInitialUserStateMetric initial_user_state_;
|