Home
last modified time | relevance | path

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

123

/external/chromium/chrome/browser/autofill/
Dautofill_metrics_unittest.cc29 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 …]
Dautofill_metrics.cc172 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 …]
Dautofill_cc_infobar_delegate.cc21 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()
Dform_structure.cc207 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 …]
Dautofill_metrics.h15 class AutofillMetrics {
93 AutofillMetrics();
94 virtual ~AutofillMetrics();
124 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
Dautofill_cc_infobar_delegate.h30 const AutofillMetrics* metric_logger);
35 void LogUserAction(AutofillMetrics::CreditCardInfoBarMetric user_action);
60 const AutofillMetrics* metric_logger_;
Dautofill_download_unittest.cc30 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 …]
Dpersonal_data_manager.h27 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_;
Dform_structure.h34 class AutofillMetrics; variable
64 const AutofillMetrics& metric_logger);
92 void LogQualityMetrics(const AutofillMetrics& metric_logger) const;
/external/chromium_org/components/autofill/core/browser/
Dautofill_metrics.cc177 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 …]
Dautofill_metrics_unittest.cc46 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 …]
Dform_structure.cc372 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 …]
Dautofill_download_unittest.cc32 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 …]
Dform_structure.h41 class AutofillMetrics; variable
55 void DetermineHeuristicTypes(const AutofillMetrics& metric_logger);
83 const AutofillMetrics& metric_logger);
124 void LogQualityMetrics(const AutofillMetrics& metric_logger,
Dautofill_metrics.h21 class AutofillMetrics {
328 AutofillMetrics();
329 virtual ~AutofillMetrics();
449 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_client_unittest.cc578 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 …]
Dwallet_client.cc144 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/
Dautofill_dialog_common.cc170 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 …]
Daccount_chooser_model.cc33 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()
Daccount_chooser_model.h17 class AutofillMetrics; variable
57 const AutofillMetrics& metric_logger);
131 const AutofillMetrics& metric_logger_;
Dautofill_dialog_common.h41 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent(
46 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent(
/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()
89 LogUserAction(AutofillMetrics::INFOBAR_ACCEPTED); in Accept()
94 LogUserAction(AutofillMetrics::INFOBAR_DENIED); in Cancel()
Dautofill_cc_infobar_delegate.h33 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/
Dautofill_dialog_controller_android.cc219 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()
Dautofill_dialog_controller_android.h59 const AutofillMetrics& GetMetricLogger() const { in GetMetricLogger()
79 const AutofillMetrics metric_logger_;
81 AutofillMetrics::DialogInitialUserStateMetric initial_user_state_;

123