| 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_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 virtual void OnWebDataServiceRequestDone( | 32 virtual void OnWebDataServiceRequestDone( |
| 33 WebDataServiceBase::Handle h, | 33 WebDataServiceBase::Handle h, |
| 34 const WDTypedResult* result) OVERRIDE; | 34 const WDTypedResult* result) OVERRIDE; |
| 35 | 35 |
| 36 // Pass-through functions that are called by AutofillManager, after it has | 36 // Pass-through functions that are called by AutofillManager, after it has |
| 37 // dispatched a message. | 37 // dispatched a message. |
| 38 void OnGetAutocompleteSuggestions( | 38 void OnGetAutocompleteSuggestions( |
| 39 int query_id, | 39 int query_id, |
| 40 const base::string16& name, | 40 const base::string16& name, |
| 41 const base::string16& prefix, | 41 const base::string16& prefix, |
| 42 const std::string form_control_type, |
| 42 const std::vector<base::string16>& autofill_values, | 43 const std::vector<base::string16>& autofill_values, |
| 43 const std::vector<base::string16>& autofill_labels, | 44 const std::vector<base::string16>& autofill_labels, |
| 44 const std::vector<base::string16>& autofill_icons, | 45 const std::vector<base::string16>& autofill_icons, |
| 45 const std::vector<int>& autofill_unique_ids); | 46 const std::vector<int>& autofill_unique_ids); |
| 46 virtual void OnFormSubmitted(const FormData& form); | 47 virtual void OnFormSubmitted(const FormData& form); |
| 47 | 48 |
| 48 // Must be public for the external delegate to use. | 49 // Must be public for the external delegate to use. |
| 49 void OnRemoveAutocompleteEntry(const base::string16& name, | 50 void OnRemoveAutocompleteEntry(const base::string16& name, |
| 50 const base::string16& value); | 51 const base::string16& value); |
| 51 | 52 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 86 |
| 86 // Whether IPC is sent. | 87 // Whether IPC is sent. |
| 87 bool send_ipc_; | 88 bool send_ipc_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); | 90 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace autofill | 93 } // namespace autofill |
| 93 | 94 |
| 94 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
| OLD | NEW |