Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: components/autofill/browser/webdata/autofill_webdata.h

Issue 14081043: Hook up Autofill Backend interface to SyncableServices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 WebDataServiceConsumer* consumer) = 0; 42 WebDataServiceConsumer* consumer) = 0;
43 43
44 // Checks if there are any form elements in the database. 44 // Checks if there are any form elements in the database.
45 virtual WebDataServiceBase::Handle HasFormElements( 45 virtual WebDataServiceBase::Handle HasFormElements(
46 WebDataServiceConsumer* consumer) = 0; 46 WebDataServiceConsumer* consumer) = 0;
47 47
48 // Removes form elements recorded for Autocomplete from the database. 48 // Removes form elements recorded for Autocomplete from the database.
49 virtual void RemoveFormElementsAddedBetween( 49 virtual void RemoveFormElementsAddedBetween(
50 const base::Time& delete_begin, const base::Time& delete_end) = 0; 50 const base::Time& delete_begin, const base::Time& delete_end) = 0;
51 51
52 virtual void RemoveExpiredFormElements() = 0;
53 virtual void RemoveFormValueForElementName(const base::string16& name, 52 virtual void RemoveFormValueForElementName(const base::string16& name,
54 const base::string16& value) = 0; 53 const base::string16& value) = 0;
55 54
56 // Schedules a task to add an Autofill profile to the web database. 55 // Schedules a task to add an Autofill profile to the web database.
57 virtual void AddAutofillProfile(const AutofillProfile& profile) = 0; 56 virtual void AddAutofillProfile(const AutofillProfile& profile) = 0;
58 57
59 // Schedules a task to update an Autofill profile in the web database. 58 // Schedules a task to update an Autofill profile in the web database.
60 virtual void UpdateAutofillProfile(const AutofillProfile& profile) = 0; 59 virtual void UpdateAutofillProfile(const AutofillProfile& profile) = 0;
61 60
62 // Schedules a task to remove an Autofill profile from the web database. 61 // Schedules a task to remove an Autofill profile from the web database.
(...skipping 25 matching lines...) Expand all
88 WebDataServiceConsumer* consumer) = 0; 87 WebDataServiceConsumer* consumer) = 0;
89 88
90 // Removes Autofill records from the database. 89 // Removes Autofill records from the database.
91 virtual void RemoveAutofillDataModifiedBetween( 90 virtual void RemoveAutofillDataModifiedBetween(
92 const base::Time& delete_begin, const base::Time& delete_end) = 0; 91 const base::Time& delete_begin, const base::Time& delete_end) = 0;
93 }; 92 };
94 93
95 } // namespace autofill 94 } // namespace autofill
96 95
97 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 96 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698