| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 UNMASK_PROMPT_CLOSED_FAILED_TO_UNMASK_NON_RETRIABLE_FAILURE, | 400 UNMASK_PROMPT_CLOSED_FAILED_TO_UNMASK_NON_RETRIABLE_FAILURE, |
| 401 // Successfully unmasked the card in the first attempt. | 401 // Successfully unmasked the card in the first attempt. |
| 402 UNMASK_PROMPT_UNMASKED_CARD_FIRST_ATTEMPT, | 402 UNMASK_PROMPT_UNMASKED_CARD_FIRST_ATTEMPT, |
| 403 // Successfully unmasked the card after retriable failures. | 403 // Successfully unmasked the card after retriable failures. |
| 404 UNMASK_PROMPT_UNMASKED_CARD_AFTER_FAILED_ATTEMPTS, | 404 UNMASK_PROMPT_UNMASKED_CARD_AFTER_FAILED_ATTEMPTS, |
| 405 // Saved the card locally (masked card was upgraded to a full card). | 405 // Saved the card locally (masked card was upgraded to a full card). |
| 406 UNMASK_PROMPT_SAVED_CARD_LOCALLY, | 406 UNMASK_PROMPT_SAVED_CARD_LOCALLY, |
| 407 // User chose to opt in (checked the checkbox when it was empty). | 407 // User chose to opt in (checked the checkbox when it was empty). |
| 408 // Only logged if there was an attempt to unmask. | 408 // Only logged if there was an attempt to unmask. |
| 409 UNMASK_PROMPT_LOCAL_SAVE_DID_OPT_IN, | 409 UNMASK_PROMPT_LOCAL_SAVE_DID_OPT_IN, |
| 410 // User did not opt in when he had the chance (left the checkbox unchecked). | 410 // User did not opt in when they had the chance (left the checkbox |
| 411 // Only logged if there was an attempt to unmask. | 411 // unchecked). Only logged if there was an attempt to unmask. |
| 412 UNMASK_PROMPT_LOCAL_SAVE_DID_NOT_OPT_IN, | 412 UNMASK_PROMPT_LOCAL_SAVE_DID_NOT_OPT_IN, |
| 413 // User chose to opt out (unchecked the checkbox when it was check). | 413 // User chose to opt out (unchecked the checkbox when it was check). |
| 414 // Only logged if there was an attempt to unmask. | 414 // Only logged if there was an attempt to unmask. |
| 415 UNMASK_PROMPT_LOCAL_SAVE_DID_OPT_OUT, | 415 UNMASK_PROMPT_LOCAL_SAVE_DID_OPT_OUT, |
| 416 // User did not opt out when he had a chance (left the checkbox checked). | 416 // User did not opt out when they had a chance (left the checkbox checked). |
| 417 // Only logged if there was an attempt to unmask. | 417 // Only logged if there was an attempt to unmask. |
| 418 UNMASK_PROMPT_LOCAL_SAVE_DID_NOT_OPT_OUT, | 418 UNMASK_PROMPT_LOCAL_SAVE_DID_NOT_OPT_OUT, |
| 419 // The prompt was closed while chrome was unmasking the card (user pressed | 419 // The prompt was closed while chrome was unmasking the card (user pressed |
| 420 // verify and we were waiting for the server response). | 420 // verify and we were waiting for the server response). |
| 421 UNMASK_PROMPT_CLOSED_ABANDON_UNMASKING, | 421 UNMASK_PROMPT_CLOSED_ABANDON_UNMASKING, |
| 422 NUM_UNMASK_PROMPT_EVENTS, | 422 NUM_UNMASK_PROMPT_EVENTS, |
| 423 }; | 423 }; |
| 424 | 424 |
| 425 // Possible results of Payments RPCs. | 425 // Possible results of Payments RPCs. |
| 426 enum PaymentsRpcResult { | 426 enum PaymentsRpcResult { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 bool logged_suggestion_filled_was_masked_server_card_; | 687 bool logged_suggestion_filled_was_masked_server_card_; |
| 688 }; | 688 }; |
| 689 | 689 |
| 690 private: | 690 private: |
| 691 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); | 691 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); |
| 692 }; | 692 }; |
| 693 | 693 |
| 694 } // namespace autofill | 694 } // namespace autofill |
| 695 | 695 |
| 696 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 696 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
| OLD | NEW |