| 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 <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // Remove the specified Autocomplete entry. | 127 // Remove the specified Autocomplete entry. |
| 128 void RemoveAutocompleteEntry(const base::string16& name, | 128 void RemoveAutocompleteEntry(const base::string16& name, |
| 129 const base::string16& value); | 129 const base::string16& value); |
| 130 | 130 |
| 131 // Returns true when the Payments card unmask prompt is being displayed. | 131 // Returns true when the Payments card unmask prompt is being displayed. |
| 132 bool IsShowingUnmaskPrompt(); | 132 bool IsShowingUnmaskPrompt(); |
| 133 | 133 |
| 134 // Returns the present form structures seen by Autofill manager. | 134 // Returns the present form structures seen by Autofill manager. |
| 135 const std::vector<FormStructure*>& GetFormStructures(); | 135 const std::vector<FormStructure*>& GetFormStructures(); |
| 136 | 136 |
| 137 // Happens when the autocomplete dialog runs its callback when being closed. | |
| 138 void RequestAutocompleteDialogClosed(); | |
| 139 | |
| 140 AutofillClient* client() { return client_; } | 137 AutofillClient* client() { return client_; } |
| 141 | 138 |
| 142 AutofillDownloadManager* download_manager() { | 139 AutofillDownloadManager* download_manager() { |
| 143 return download_manager_.get(); | 140 return download_manager_.get(); |
| 144 } | 141 } |
| 145 | 142 |
| 146 payments::FullCardRequest* GetOrCreateFullCardRequest(); | 143 payments::FullCardRequest* GetOrCreateFullCardRequest(); |
| 147 | 144 |
| 148 const std::string& app_locale() const { return app_locale_; } | 145 const std::string& app_locale() const { return app_locale_; } |
| 149 | 146 |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 590 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 594 DontSaveCvcInAutocompleteHistory); | 591 DontSaveCvcInAutocompleteHistory); |
| 595 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); | 592 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); |
| 596 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); | 593 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); |
| 597 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 594 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 598 }; | 595 }; |
| 599 | 596 |
| 600 } // namespace autofill | 597 } // namespace autofill |
| 601 | 598 |
| 602 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 599 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |