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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 inline void set_is_server_data_available(bool is_server_data_available) { | 686 inline void set_is_server_data_available(bool is_server_data_available) { |
687 is_server_data_available_ = is_server_data_available; | 687 is_server_data_available_ = is_server_data_available; |
688 } | 688 } |
689 | 689 |
690 inline void set_is_local_data_available(bool is_local_data_available) { | 690 inline void set_is_local_data_available(bool is_local_data_available) { |
691 is_local_data_available_ = is_local_data_available; | 691 is_local_data_available_ = is_local_data_available; |
692 } | 692 } |
693 | 693 |
694 void OnDidInteractWithAutofillableForm(); | 694 void OnDidInteractWithAutofillableForm(); |
695 | 695 |
| 696 void OnDidPollSuggestions(); |
| 697 |
696 void OnDidShowSuggestions(); | 698 void OnDidShowSuggestions(); |
697 | 699 |
698 void OnDidSelectMaskedServerCardSuggestion(); | 700 void OnDidSelectMaskedServerCardSuggestion(); |
699 | 701 |
700 // In case of masked cards, caller must make sure this gets called before | 702 // In case of masked cards, caller must make sure this gets called before |
701 // the card is upgraded to a full card. | 703 // the card is upgraded to a full card. |
702 void OnDidFillSuggestion(const CreditCard& credit_card); | 704 void OnDidFillSuggestion(const CreditCard& credit_card); |
703 | 705 |
704 void OnDidFillSuggestion(const AutofillProfile& profile); | 706 void OnDidFillSuggestion(const AutofillProfile& profile); |
705 | 707 |
(...skipping 17 matching lines...) Expand all Loading... |
723 bool logged_suggestion_filled_was_masked_server_card_; | 725 bool logged_suggestion_filled_was_masked_server_card_; |
724 }; | 726 }; |
725 | 727 |
726 private: | 728 private: |
727 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); | 729 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); |
728 }; | 730 }; |
729 | 731 |
730 } // namespace autofill | 732 } // namespace autofill |
731 | 733 |
732 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ | 734 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ |
OLD | NEW |