Home | History | Annotate | Download | only in webdata

Lines Matching refs:DB

35   DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
41 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
50 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
61 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
68 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
79 const std::vector<FormFieldData>& fields, WebDatabase* db) {
80 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
82 if (!AutofillTable::FromWebDatabase(db)->AddFormFieldValues(
90 // done on the DB thread, and not the UI thread.
101 WebDatabase* db) {
102 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
104 AutofillTable::FromWebDatabase(db)->GetFormValuesForElementName(
112 WebDatabase* db) {
113 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
114 bool value = AutofillTable::FromWebDatabase(db)->HasFormElements();
122 WebDatabase* db) {
123 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
126 if (AutofillTable::FromWebDatabase(db)->RemoveFormElementsAddedBetween(
131 // will be done on the DB thread, and not the UI thread.
142 const base::string16& name, const base::string16& value, WebDatabase* db) {
143 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
145 if (AutofillTable::FromWebDatabase(db)->RemoveFormElement(name, value)) {
161 const AutofillProfile& profile, WebDatabase* db) {
162 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
163 if (!AutofillTable::FromWebDatabase(db)->AddAutofillProfile(profile)) {
179 const AutofillProfile& profile, WebDatabase* db) {
180 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
185 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(profile.guid(),
191 if (!AutofillTable::FromWebDatabase(db)->UpdateAutofillProfile(profile)) {
207 const std::string& guid, WebDatabase* db) {
208 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
210 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(guid, &profile)) {
216 if (!AutofillTable::FromWebDatabase(db)->RemoveAutofillProfile(guid)) {
231 WebDatabase* db) {
232 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
234 AutofillTable::FromWebDatabase(db)->GetAutofillProfiles(&profiles);
244 const CreditCard& credit_card, WebDatabase* db) {
245 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
246 if (!AutofillTable::FromWebDatabase(db)->AddCreditCard(credit_card)) {
255 const CreditCard& credit_card, WebDatabase* db) {
256 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
260 if (!AutofillTable::FromWebDatabase(db)->GetCreditCard(credit_card.guid(),
266 if (!AutofillTable::FromWebDatabase(db)->UpdateCreditCard(credit_card)) {
274 const std::string& guid, WebDatabase* db) {
275 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
276 if (!AutofillTable::FromWebDatabase(db)->RemoveCreditCard(guid)) {
284 WebDatabase* db) {
285 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
287 AutofillTable::FromWebDatabase(db)->GetCreditCards(&credit_cards);
300 WebDatabase* db) {
301 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
304 if (AutofillTable::FromWebDatabase(db)->RemoveAutofillDataModifiedBetween(
326 WebDatabase* db) {
327 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
329 if (AutofillTable::FromWebDatabase(db)->RemoveOriginURLsModifiedBetween(
347 WebDatabase* db) {
348 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
351 if (AutofillTable::FromWebDatabase(db)->RemoveExpiredFormElements(&changes)) {
355 // will be done on the DB thread, and not the UI thread.