Home
last modified time | relevance | path

Searched refs:AutofillMetrics (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/components/autofill/core/browser/
Dautofill_metrics.cc158 AutofillMetrics::WalletApiCallMetric metric) { in WalletApiMetricToString()
160 case AutofillMetrics::ACCEPT_LEGAL_DOCUMENTS: in WalletApiMetricToString()
162 case AutofillMetrics::AUTHENTICATE_INSTRUMENT: in WalletApiMetricToString()
164 case AutofillMetrics::GET_FULL_WALLET: in WalletApiMetricToString()
166 case AutofillMetrics::GET_WALLET_ITEMS: in WalletApiMetricToString()
168 case AutofillMetrics::SAVE_TO_WALLET: in WalletApiMetricToString()
170 case AutofillMetrics::UNKNOWN_API_CALL: in WalletApiMetricToString()
171 case AutofillMetrics::NUM_WALLET_API_CALLS: in WalletApiMetricToString()
253 AutofillMetrics::AutofillMetrics() { in AutofillMetrics() function in autofill::AutofillMetrics
256 AutofillMetrics::~AutofillMetrics() { in ~AutofillMetrics()
[all …]
Dautofill_metrics_unittest.cc42 class MockAutofillMetrics : public AutofillMetrics {
183 return static_cast<MockAutofillMetrics*>(const_cast<AutofillMetrics*>( in metric_logger()
339 LogHeuristicTypePrediction(AutofillMetrics::TYPE_MATCH, in TEST_F()
342 LogServerTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F()
345 LogOverallTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F()
349 LogHeuristicTypePrediction(AutofillMetrics::TYPE_MISMATCH, in TEST_F()
352 LogServerTypePrediction(AutofillMetrics::TYPE_MATCH, in TEST_F()
355 LogOverallTypePrediction(AutofillMetrics::TYPE_MATCH, in TEST_F()
361 LogHeuristicTypePrediction(AutofillMetrics::TYPE_UNKNOWN, in TEST_F()
364 LogServerTypePrediction(AutofillMetrics::TYPE_UNKNOWN, in TEST_F()
[all …]
Dform_structure.cc391 const AutofillMetrics& metric_logger) { in DetermineHeuristicTypes()
417 AutofillMetrics::FILLABLE_FORM_PARSED); in DetermineHeuristicTypes()
420 AutofillMetrics::FILLABLE_FORM_CONTAINS_TYPE_HINTS); in DetermineHeuristicTypes()
551 const AutofillMetrics& metric_logger) { in ParseQueryResponse()
552 metric_logger.LogServerQueryMetric(AutofillMetrics::QUERY_RESPONSE_RECEIVED); in ParseQueryResponse()
564 metric_logger.LogServerQueryMetric(AutofillMetrics::QUERY_RESPONSE_PARSED); in ParseQueryResponse()
609 AutofillMetrics::ServerQueryMetric metric; in ParseQueryResponse()
612 metric = AutofillMetrics::QUERY_RESPONSE_OVERRODE_LOCAL_HEURISTICS; in ParseQueryResponse()
614 metric = AutofillMetrics::QUERY_RESPONSE_WITH_NO_LOCAL_HEURISTICS; in ParseQueryResponse()
617 metric = AutofillMetrics::QUERY_RESPONSE_MATCHED_LOCAL_HEURISTICS; in ParseQueryResponse()
[all …]
Dautofill_download_unittest.cc32 class MockAutofillMetrics : public AutofillMetrics {
206 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
298 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
315 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(0); in TEST_F()
412 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
428 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
438 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
454 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
468 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
473 LogServerQueryMetric(AutofillMetrics::QUERY_SENT)).Times(1); in TEST_F()
[all …]
Dform_structure.h44 class AutofillMetrics; variable
58 void DetermineHeuristicTypes(const AutofillMetrics& metric_logger);
86 const AutofillMetrics& metric_logger);
127 void LogQualityMetrics(const AutofillMetrics& metric_logger,
Dautofill_metrics.h21 class AutofillMetrics {
311 AutofillMetrics();
312 virtual ~AutofillMetrics();
416 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
Dautofill_manager.h54 class AutofillMetrics; variable
205 const AutofillMetrics* metric_logger() const { return metric_logger_.get(); } in metric_logger()
206 void set_metric_logger(const AutofillMetrics* metric_logger);
314 scoped_ptr<const AutofillMetrics> metric_logger_;
Dautofill_client.h26 class AutofillMetrics; variable
77 const AutofillMetrics& metric_logger,
Dautofill_download.h30 class AutofillMetrics; variable
72 const AutofillMetrics& metric_logger);
Dautofill_manager.cc177 metric_logger_(new AutofillMetrics), in AutofillManager()
414 metric_logger_->LogUserHappinessMetric(AutofillMetrics::USER_DID_TYPE); in OnTextFieldDidChange()
420 AutofillMetrics::USER_DID_EDIT_AUTOFILLED_FIELD); in OnTextFieldDidChange()
425 AutofillMetrics::USER_DID_EDIT_AUTOFILLED_FIELD_ONCE); in OnTextFieldDidChange()
658 metric_logger_->LogUserHappinessMetric(AutofillMetrics::USER_DID_AUTOFILL); in OnDidFillAutofillFormData()
662 AutofillMetrics::USER_DID_AUTOFILL_ONCE); in OnDidFillAutofillFormData()
673 metric_logger_->LogUserHappinessMetric(AutofillMetrics::SUGGESTIONS_SHOWN); in DidShowSuggestions()
678 AutofillMetrics::SUGGESTIONS_SHOWN_ONCE); in DidShowSuggestions()
884 metric_logger_(new AutofillMetrics), in AutofillManager()
898 void AutofillManager::set_metric_logger(const AutofillMetrics* metric_logger) { in set_metric_logger()
[all …]
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_client_unittest.cc603 class MockAutofillMetrics : public AutofillMetrics {
626 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE { in GetMetricLogger()
647 AutofillMetrics::WalletApiCallMetric metric, in ExpectLogWalletApiCallDuration()
654 AutofillMetrics::WalletApiCallMetric metric) { in ExpectLogWalletMalformedResponse()
659 void ExpectWalletErrorMetric(AutofillMetrics::WalletErrorMetric metric) { in ExpectWalletErrorMetric()
664 AutofillMetrics::WalletRequiredActionMetric metric) { in ExpectWalletRequiredActionMetric()
673 AutofillMetrics::WALLET_ERROR_BASELINE_ISSUED_REQUEST)) in ExpectBaselineMetrics()
676 AutofillMetrics::WALLET_REQUIRED_ACTION_BASELINE_ISSUED_REQUEST); in ExpectBaselineMetrics()
822 AutofillMetrics::WalletErrorMetric expected_autofill_metric) { in TestWalletErrorCode()
849 AutofillMetrics::GET_WALLET_ITEMS, 1); in TestWalletErrorCode()
[all …]
Dwallet_client.cc142 AutofillMetrics::WalletErrorMetric ErrorTypeToUmaMetric( in ErrorTypeToUmaMetric()
146 return AutofillMetrics::WALLET_BAD_REQUEST; in ErrorTypeToUmaMetric()
148 return AutofillMetrics::WALLET_BUYER_LEGAL_ADDRESS_NOT_SUPPORTED; in ErrorTypeToUmaMetric()
150 return AutofillMetrics::WALLET_BUYER_ACCOUNT_ERROR; in ErrorTypeToUmaMetric()
152 return AutofillMetrics::WALLET_INTERNAL_ERROR; in ErrorTypeToUmaMetric()
154 return AutofillMetrics::WALLET_INVALID_PARAMS; in ErrorTypeToUmaMetric()
156 return AutofillMetrics::WALLET_UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS; in ErrorTypeToUmaMetric()
158 return AutofillMetrics::WALLET_SERVICE_UNAVAILABLE; in ErrorTypeToUmaMetric()
160 return AutofillMetrics::WALLET_UNSUPPORTED_API_VERSION; in ErrorTypeToUmaMetric()
162 return AutofillMetrics::WALLET_UNSUPPORTED_MERCHANT; in ErrorTypeToUmaMetric()
[all …]
Dwallet_client_delegate.h15 class AutofillMetrics; variable
34 virtual const AutofillMetrics& GetMetricLogger() const = 0;
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_common.cc80 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent( in DialogSectionToUiItemAddedEvent()
84 return AutofillMetrics::DIALOG_UI_BILLING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent()
87 return AutofillMetrics::DIALOG_UI_CC_BILLING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent()
90 return AutofillMetrics::DIALOG_UI_SHIPPING_ITEM_ADDED; in DialogSectionToUiItemAddedEvent()
93 return AutofillMetrics::DIALOG_UI_CC_ITEM_ADDED; in DialogSectionToUiItemAddedEvent()
97 return AutofillMetrics::NUM_DIALOG_UI_EVENTS; in DialogSectionToUiItemAddedEvent()
100 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( in DialogSectionToUiSelectionChangedEvent()
104 return AutofillMetrics::DIALOG_UI_BILLING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent()
107 return AutofillMetrics::DIALOG_UI_CC_BILLING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent()
110 return AutofillMetrics::DIALOG_UI_SHIPPING_SELECTED_SUGGESTION_CHANGED; in DialogSectionToUiSelectionChangedEvent()
[all …]
Daccount_chooser_model.cc33 const AutofillMetrics& metric_logger) in AccountChooserModel()
120 AutofillMetrics::DialogUiEvent chooser_event; in ExecuteCommand()
123 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL; in ExecuteCommand()
126 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_TRIED_TO_ADD_ACCOUNT; in ExecuteCommand()
129 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET; in ExecuteCommand()
132 AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT; in ExecuteCommand()
Daccount_chooser_model.h17 class AutofillMetrics; variable
54 const AutofillMetrics& metric_logger);
127 const AutofillMetrics& metric_logger_;
Dautofill_dialog_common.h53 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent(
58 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent(
Dautofill_dialog_controller_browsertest.cc91 class MockAutofillMetrics : public AutofillMetrics {
105 AutofillMetrics::DialogDismissalAction dialog_dismissal_action() const { in dialog_dismissal_action()
123 const AutofillMetrics& metric_logger, in TestAutofillDialogController()
250 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE { in GetMetricLogger()
254 const AutofillMetrics& metric_logger_;
566 EXPECT_EQ(AutofillMetrics::DIALOG_ACCEPTED, in IN_PROC_BROWSER_TEST_F()
574 AutofillMetrics::DIALOG_CANCELED_NO_INVALID_FIELDS)); in IN_PROC_BROWSER_TEST_F()
579 EXPECT_EQ(AutofillMetrics::DIALOG_CANCELED, in IN_PROC_BROWSER_TEST_F()
587 AutofillMetrics::DIALOG_CANCELED_NO_INVALID_FIELDS)); in IN_PROC_BROWSER_TEST_F()
592 EXPECT_EQ(AutofillMetrics::DIALOG_CANCELED, in IN_PROC_BROWSER_TEST_F()
[all …]
Daccount_chooser_model_unittest.cc25 const AutofillMetrics& metric_logger) in TestAccountChooserModel()
56 const AutofillMetrics& metric_logger() { return metric_logger_; } in metric_logger()
62 AutofillMetrics metric_logger_;
/external/chromium_org/chrome/browser/autofill/
Dautofill_cc_infobar_delegate.cc26 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()
90 LogUserAction(AutofillMetrics::INFOBAR_ACCEPTED); in Accept()
95 LogUserAction(AutofillMetrics::INFOBAR_DENIED); in Cancel()
Dautofill_cc_infobar_delegate_unittest.cc24 class MockAutofillMetrics : public AutofillMetrics {
95 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_SHOWN)); in CreateDelegate()
117 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_ACCEPTED)); in TEST_F()
120 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_IGNORED)) in TEST_F()
130 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_DENIED)) in TEST_F()
133 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_IGNORED)) in TEST_F()
143 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_DENIED)) in TEST_F()
146 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_IGNORED)) in TEST_F()
156 LogCreditCardInfoBarMetric(AutofillMetrics::INFOBAR_IGNORED)) in TEST_F()
Dautofill_cc_infobar_delegate.h29 const AutofillMetrics* metric_logger,
34 const AutofillMetrics* metric_logger, in Create()
42 AutofillCCInfoBarDelegate(const AutofillMetrics* metric_logger,
46 void LogUserAction(AutofillMetrics::InfoBarMetric user_action);
63 const AutofillMetrics* metric_logger_;
/external/chromium_org/chrome/browser/ui/android/autofill/
Dautofill_dialog_controller_android.h60 const AutofillMetrics& GetMetricLogger() const { in GetMetricLogger()
77 const AutofillMetrics metric_logger_;
79 AutofillMetrics::DialogInitialUserStateMetric initial_user_state_;
Dautofill_dialog_controller_android.cc293 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_SHOWN); in Show()
296 AutofillMetrics::SECURITY_METRIC_DIALOG_SHOWN); in Show()
300 AutofillMetrics::SECURITY_METRIC_CROSS_ORIGIN_FRAME); in Show()
508 initial_user_state_(AutofillMetrics::DIALOG_USER_STATE_UNKNOWN), in AutofillDialogControllerAndroid()
522 AutofillMetrics::DIALOG_ACCEPTED); in LogOnFinishSubmitMetrics()
524 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_ACCEPTED); in LogOnFinishSubmitMetrics()
530 AutofillMetrics::DIALOG_CANCELED); in LogOnCancelMetrics()
532 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_CANCELED); in LogOnCancelMetrics()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_cocoa_browsertest.mm35 const AutofillMetrics& metric_logger,
59 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE {
63 const AutofillMetrics& metric_logger_;
107 AutofillMetrics metric_logger_;

12