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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void OnDidPreviewAutofillFormData(); | 119 void OnDidPreviewAutofillFormData(); |
120 | 120 |
121 // Remove the credit card or Autofill profile that matches |unique_id| | 121 // Remove the credit card or Autofill profile that matches |unique_id| |
122 // from the database. | 122 // from the database. |
123 void RemoveAutofillProfileOrCreditCard(int unique_id); | 123 void RemoveAutofillProfileOrCreditCard(int unique_id); |
124 | 124 |
125 // Remove the specified Autocomplete entry. | 125 // Remove the specified Autocomplete entry. |
126 void RemoveAutocompleteEntry(const base::string16& name, | 126 void RemoveAutocompleteEntry(const base::string16& name, |
127 const base::string16& value); | 127 const base::string16& value); |
128 | 128 |
| 129 // Returns true when the Wallet card unmask prompt is being displayed. |
| 130 bool IsShowingUnmaskPrompt(); |
| 131 |
129 // Returns the present form structures seen by Autofill manager. | 132 // Returns the present form structures seen by Autofill manager. |
130 const std::vector<FormStructure*>& GetFormStructures(); | 133 const std::vector<FormStructure*>& GetFormStructures(); |
131 | 134 |
132 // Happens when the autocomplete dialog runs its callback when being closed. | 135 // Happens when the autocomplete dialog runs its callback when being closed. |
133 void RequestAutocompleteDialogClosed(); | 136 void RequestAutocompleteDialogClosed(); |
134 | 137 |
135 AutofillClient* client() const { return client_; } | 138 AutofillClient* client() const { return client_; } |
136 | 139 |
137 const std::string& app_locale() const { return app_locale_; } | 140 const std::string& app_locale() const { return app_locale_; } |
138 | 141 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 410 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
408 AutocompleteOffRespected); | 411 AutocompleteOffRespected); |
409 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 412 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
410 AutocompleteOffRespectedWithFlag); | 413 AutocompleteOffRespectedWithFlag); |
411 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 414 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
412 }; | 415 }; |
413 | 416 |
414 } // namespace autofill | 417 } // namespace autofill |
415 | 418 |
416 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 419 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |