| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void ShutdownOnUIThread() OVERRIDE; | 58 virtual void ShutdownOnUIThread() OVERRIDE; |
| 59 | 59 |
| 60 // AutofillWebData implementation. | 60 // AutofillWebData implementation. |
| 61 virtual void AddFormFields( | 61 virtual void AddFormFields( |
| 62 const std::vector<FormFieldData>& fields) OVERRIDE; | 62 const std::vector<FormFieldData>& fields) OVERRIDE; |
| 63 virtual WebDataServiceBase::Handle GetFormValuesForElementName( | 63 virtual WebDataServiceBase::Handle GetFormValuesForElementName( |
| 64 const base::string16& name, | 64 const base::string16& name, |
| 65 const base::string16& prefix, | 65 const base::string16& prefix, |
| 66 int limit, | 66 int limit, |
| 67 WebDataServiceConsumer* consumer) OVERRIDE; | 67 WebDataServiceConsumer* consumer) OVERRIDE; |
| 68 |
| 69 virtual WebDataServiceBase::Handle HasFormElements( |
| 70 WebDataServiceConsumer* consumer) OVERRIDE; |
| 68 virtual void RemoveFormElementsAddedBetween( | 71 virtual void RemoveFormElementsAddedBetween( |
| 69 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; | 72 const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; |
| 70 virtual void RemoveExpiredFormElements() OVERRIDE; | 73 virtual void RemoveExpiredFormElements() OVERRIDE; |
| 71 virtual void RemoveFormValueForElementName( | 74 virtual void RemoveFormValueForElementName( |
| 72 const base::string16& name, | 75 const base::string16& name, |
| 73 const base::string16& value) OVERRIDE; | 76 const base::string16& value) OVERRIDE; |
| 74 virtual void AddAutofillProfile(const AutofillProfile& profile) OVERRIDE; | 77 virtual void AddAutofillProfile(const AutofillProfile& profile) OVERRIDE; |
| 75 virtual void UpdateAutofillProfile(const AutofillProfile& profile) OVERRIDE; | 78 virtual void UpdateAutofillProfile(const AutofillProfile& profile) OVERRIDE; |
| 76 virtual void RemoveAutofillProfile(const std::string& guid) OVERRIDE; | 79 virtual void RemoveAutofillProfile(const std::string& guid) OVERRIDE; |
| 77 virtual WebDataServiceBase::Handle GetAutofillProfiles( | 80 virtual WebDataServiceBase::Handle GetAutofillProfiles( |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 ObserverList<AutofillWebDataServiceObserverOnUIThread> ui_observer_list_; | 127 ObserverList<AutofillWebDataServiceObserverOnUIThread> ui_observer_list_; |
| 125 | 128 |
| 126 scoped_refptr<AutofillWebDataBackend> autofill_backend_; | 129 scoped_refptr<AutofillWebDataBackend> autofill_backend_; |
| 127 | 130 |
| 128 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataService); | 131 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataService); |
| 129 }; | 132 }; |
| 130 | 133 |
| 131 } // namespace autofill | 134 } // namespace autofill |
| 132 | 135 |
| 133 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ | 136 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ |
| OLD | NEW |