| 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_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 bool AccessAddressBook(); | 93 bool AccessAddressBook(); |
| 94 | 94 |
| 95 // The access Address Book prompt was shown for a form. | 95 // The access Address Book prompt was shown for a form. |
| 96 void ShowedAccessAddressBookPrompt(); | 96 void ShowedAccessAddressBookPrompt(); |
| 97 | 97 |
| 98 // The number of times that the access address book prompt was shown. | 98 // The number of times that the access address book prompt was shown. |
| 99 int AccessAddressBookPromptCount(); | 99 int AccessAddressBookPromptCount(); |
| 100 #endif // defined(OS_MACOSX) && !defined(OS_IOS) | 100 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
| 101 | 101 |
| 102 // Whether the |field| should show an entry to scan a credit card. | 102 // Whether the |field| should show an entry to scan a credit card. |
| 103 bool ShouldShowScanCreditCard(const FormData& form, | 103 virtual bool ShouldShowScanCreditCard(const FormData& form, |
| 104 const FormFieldData& field); | 104 const FormFieldData& field); |
| 105 | 105 |
| 106 // Called from our external delegate so they cannot be private. | 106 // Called from our external delegate so they cannot be private. |
| 107 virtual void FillOrPreviewForm(AutofillDriver::RendererFormDataAction action, | 107 virtual void FillOrPreviewForm(AutofillDriver::RendererFormDataAction action, |
| 108 int query_id, | 108 int query_id, |
| 109 const FormData& form, | 109 const FormData& form, |
| 110 const FormFieldData& field, | 110 const FormFieldData& field, |
| 111 int unique_id); | 111 int unique_id); |
| 112 virtual void FillCreditCardForm(int query_id, | 112 virtual void FillCreditCardForm(int query_id, |
| 113 const FormData& form, | 113 const FormData& form, |
| 114 const FormFieldData& field, | 114 const FormFieldData& field, |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 398 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 399 AutocompleteOffRespected); | 399 AutocompleteOffRespected); |
| 400 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 400 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 401 AutocompleteOffRespectedWithFlag); | 401 AutocompleteOffRespectedWithFlag); |
| 402 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 402 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 403 }; | 403 }; |
| 404 | 404 |
| 405 } // namespace autofill | 405 } // namespace autofill |
| 406 | 406 |
| 407 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 407 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |