| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void RemoveAutocompleteEntry(const base::string16& name, | 125 void RemoveAutocompleteEntry(const base::string16& name, |
| 126 const base::string16& value); | 126 const base::string16& value); |
| 127 | 127 |
| 128 // Returns the present form structures seen by Autofill manager. | 128 // Returns the present form structures seen by Autofill manager. |
| 129 const std::vector<FormStructure*>& GetFormStructures(); | 129 const std::vector<FormStructure*>& GetFormStructures(); |
| 130 | 130 |
| 131 // Happens when the autocomplete dialog runs its callback when being closed. | 131 // Happens when the autocomplete dialog runs its callback when being closed. |
| 132 void RequestAutocompleteDialogClosed(); | 132 void RequestAutocompleteDialogClosed(); |
| 133 | 133 |
| 134 AutofillClient* client() const { return client_; } | 134 AutofillClient* client() const { return client_; } |
| 135 AutofillDriver* driver() { return driver_; } |
| 135 | 136 |
| 136 const std::string& app_locale() const { return app_locale_; } | 137 const std::string& app_locale() const { return app_locale_; } |
| 137 | 138 |
| 138 // Only for testing. | 139 // Only for testing. |
| 139 void SetTestDelegate(AutofillManagerTestDelegate* delegate); | 140 void SetTestDelegate(AutofillManagerTestDelegate* delegate); |
| 140 | 141 |
| 141 void OnFormsSeen(const std::vector<FormData>& forms, | 142 void OnFormsSeen(const std::vector<FormData>& forms, |
| 142 const base::TimeTicks& timestamp); | 143 const base::TimeTicks& timestamp); |
| 143 | 144 |
| 144 // Processes the submitted |form|, saving any new Autofill data and uploading | 145 // Processes the submitted |form|, saving any new Autofill data and uploading |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 399 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 399 AutocompleteOffRespected); | 400 AutocompleteOffRespected); |
| 400 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 401 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 401 AutocompleteOffRespectedWithFlag); | 402 AutocompleteOffRespectedWithFlag); |
| 402 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 403 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 403 }; | 404 }; |
| 404 | 405 |
| 405 } // namespace autofill | 406 } // namespace autofill |
| 406 | 407 |
| 407 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 408 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |