Searched refs:pair_id (Results 1 - 3 of 3) sorted by relevance

/external/chromium/chrome/browser/webdata/
H A Dautofill_table.h34 // pair_id An ID number unique to the row in the table.
40 // pair. The |pair_id| should match the |pair_id| field
42 // pair_id
149 // Removes from autofill_dates rows with given pair_id where date_created lies
151 bool RemoveFormElementForTimeRange(int64 pair_id,
156 // Increments the count in the row corresponding to |pair_id| by
159 bool AddToCountOfFormElement(int64 pair_id, int delta, bool* was_removed);
161 // Gets the pair_id and count entries from name and value specified in
162 // |element|. Sets *pair_id an
[all...]
H A Dautofill_table.cc465 // Query for the pair_id, name, and value of all form elements that
468 "SELECT DISTINCT a.pair_id, a.name, a.value "
469 "FROM autofill_dates ad JOIN autofill a ON ad.pair_id = a.pair_id "
512 bool AutofillTable::RemoveFormElementForTimeRange(int64 pair_id, argument
517 "DELETE FROM autofill_dates WHERE pair_id = ? AND "
523 s.BindInt64(0, pair_id);
535 bool AutofillTable::AddToCountOfFormElement(int64 pair_id, argument
542 if (!GetCountOfFormElement(pair_id, &count))
546 if (!RemoveFormElementForID(pair_id))
556 GetIDAndCountOfFormElement( const FormField& element, int64* pair_id, int* count) argument
582 GetCountOfFormElement(int64 pair_id, int* count) argument
599 SetCountOfFormElement(int64 pair_id, int count) argument
617 InsertFormElement(const FormField& element, int64* pair_id) argument
639 InsertPairIDAndDate(int64 pair_id, base::Time date_created) argument
835 int64 pair_id = db_->GetLastInsertRowId(); local
848 int64 pair_id; local
1363 RemoveFormElementForID(int64 pair_id) argument
[all...]
H A Dautofill_table_unittest.cc181 int64 pair_id = 0; local
183 // We have added the name Clark Kent 5 times, so count should be 5 and pair_id
192 &pair_id, &count));
194 EXPECT_NE(0, pair_id);
205 &pair_id, &count));
215 &pair_id, &count));
282 &pair_id, &count));
445 int64 pair_id; local
448 field, &pair_id, &count));
449 EXPECT_LE(0, pair_id);
473 int64 pair_id; local
521 int64 pair_id; local
[all...]

Completed in 31 milliseconds