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

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: Pure merge 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 30 matching lines...) Expand all
93 92
94 // Removes origin URLs associated with Autofill profiles and credit cards from 93 // Removes origin URLs associated with Autofill profiles and credit cards from
95 // the database. 94 // the database.
96 virtual void RemoveOriginURLsModifiedBetween( 95 virtual void RemoveOriginURLsModifiedBetween(
97 const base::Time& delete_begin, const base::Time& delete_end) = 0; 96 const base::Time& delete_begin, const base::Time& delete_end) = 0;
98 }; 97 };
99 98
100 } // namespace autofill 99 } // namespace autofill
101 100
102 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 101 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_data_service_factory.cc ('k') | components/autofill/browser/webdata/autofill_webdata_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698