Home
last modified time | relevance | path

Searched refs:AutofillEntry (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_entry.cc56 AutofillEntry::AutofillEntry(const AutofillKey& key, in AutofillEntry() function in autofill::AutofillEntry
62 AutofillEntry::~AutofillEntry() {} in ~AutofillEntry()
64 bool AutofillEntry::operator==(const AutofillEntry& entry) const { in operator ==()
81 bool AutofillEntry::operator<(const AutofillEntry& entry) const { in operator <()
85 bool AutofillEntry::IsExpired() const { in IsExpired()
93 base::Time AutofillEntry::ExpirationTime() { in ExpirationTime()
108 bool AutofillEntry::CullTimeStamps(const std::vector<base::Time>& source, in CullTimeStamps()
Dautofill_entry.h36 class AutofillEntry {
38 AutofillEntry(const AutofillKey& key,
40 ~AutofillEntry();
45 bool operator==(const AutofillEntry& entry) const;
46 bool operator<(const AutofillEntry& entry) const;
Dautofill_entry_unittest.cc22 EXPECT_FALSE(AutofillEntry::CullTimeStamps(source, &result)); in TEST()
41 EXPECT_TRUE(AutofillEntry::CullTimeStamps(source, &result)); in TEST()
54 base::Time cutoff_time = AutofillEntry::ExpirationTime(); in TEST()
61 AutofillEntry entry_within_the_limits(key, timestamps); in TEST()
67 AutofillEntry entry_partially_within_the_limits(key, timestamps); in TEST()
77 AutofillEntry entry_outside_the_limits(key, timestamps); in TEST()
Dautofill_table_unittest.cc59 typedef std::set<AutofillEntry,
60 bool (*)(const AutofillEntry&, const AutofillEntry&)> AutofillEntrySet;
63 bool CompareAutofillEntries(const AutofillEntry& a, const AutofillEntry& b) { in CompareAutofillEntries()
86 AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
95 return AutofillEntry( in MakeAutofillEntry()
350 AutofillEntry entry(MakeAutofillEntry("foo", "bar", 1, -1)); in TEST_F()
351 std::vector<AutofillEntry> entries; in TEST_F()
364 std::vector<AutofillEntry> all_entries; in TEST_F()
371 AutofillEntry entry(MakeAutofillEntry("foo", "bar", 1, 2)); in TEST_F()
372 std::vector<AutofillEntry> entries; in TEST_F()
[all …]
Dautofill_table.h25 class AutofillEntry; variable
226 virtual bool GetAllAutofillEntries(std::vector<AutofillEntry>* entries);
236 virtual bool UpdateAutofillEntries(const std::vector<AutofillEntry>& entries);
363 bool InsertAutofillEntry(const AutofillEntry& entry);
Dautofill_table.cc548 base::Time delete_end = AutofillEntry::ExpirationTime(); in RemoveExpiredFormElements()
582 std::vector<AutofillEntry> entries; in RemoveExpiredFormElements()
796 bool AutofillTable::GetAllAutofillEntries(std::vector<AutofillEntry>* entries) { in GetAllAutofillEntries()
823 AutofillEntry entry(*current_key_ptr, *timestamps_ptr); in GetAllAutofillEntries()
839 AutofillEntry entry(*current_key_ptr, *timestamps_ptr); in GetAllAutofillEntries()
866 const std::vector<AutofillEntry>& entries) { in UpdateAutofillEntries()
896 bool AutofillTable::InsertAutofillEntry(const AutofillEntry& entry) { in InsertAutofillEntry()
/external/chromium/chrome/browser/webdata/
Dautofill_entry.cc43 AutofillEntry::AutofillEntry(const AutofillKey& key, in AutofillEntry() function in AutofillEntry
49 AutofillEntry::~AutofillEntry() {} in ~AutofillEntry()
51 bool AutofillEntry::operator==(const AutofillEntry& entry) const { in operator ==()
68 bool AutofillEntry::operator<(const AutofillEntry& entry) const { in operator <()
Dautofill_entry.h32 class AutofillEntry {
34 AutofillEntry(const AutofillKey& key,
36 ~AutofillEntry();
41 bool operator==(const AutofillEntry& entry) const;
42 bool operator<(const AutofillEntry& entry) const;
Dautofill_table_unittest.cc55 bool CompareAutofillEntries(const AutofillEntry& a, const AutofillEntry& b) { in CompareAutofillEntries()
90 typedef std::set<AutofillEntry,
91 bool (*)(const AutofillEntry&, const AutofillEntry&)> AutofillEntrySet;
92 typedef std::set<AutofillEntry, bool (*)(const AutofillEntry&,
93 const AutofillEntry&)>::iterator AutofillEntrySetIterator;
111 static AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
120 return AutofillEntry( in MakeAutofillEntry()
434 AutofillEntry entry(MakeAutofillEntry("foo", "bar", 1, -1)); in TEST_F()
435 std::vector<AutofillEntry> entries; in TEST_F()
452 std::vector<AutofillEntry> all_entries; in TEST_F()
[all …]
Dautofill_table.h16 class AutofillEntry; variable
188 virtual bool GetAllAutofillEntries(std::vector<AutofillEntry>* entries);
198 virtual bool UpdateAutofillEntries(const std::vector<AutofillEntry>& entries);
310 bool InsertAutofillEntry(const AutofillEntry& entry);
Dautofill_table.cc705 bool AutofillTable::GetAllAutofillEntries(std::vector<AutofillEntry>* entries) { in GetAllAutofillEntries()
737 AutofillEntry entry(*current_key_ptr, *timestamps_ptr); in GetAllAutofillEntries()
752 AutofillEntry entry(*current_key_ptr, *timestamps_ptr); in GetAllAutofillEntries()
785 const std::vector<AutofillEntry>& entries) { in UpdateAutofillEntries()
816 bool AutofillTable::InsertAutofillEntry(const AutofillEntry& entry) { in InsertAutofillEntry()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc100 bool(std::vector<AutofillEntry>* entries)); // NOLINT
106 bool(const std::vector<AutofillEntry>&)); // NOLINT
139 syncable::ModelType GetModelType<AutofillEntry>() { in GetModelType()
341 bool AddAutofillSyncNode(const AutofillEntry& entry) { in AddAutofillSyncNode()
371 bool GetAutofillEntriesFromSyncDB(std::vector<AutofillEntry>* entries, in GetAutofillEntriesFromSyncDB()
395 entries->push_back(AutofillEntry(key, timestamps)); in GetAutofillEntriesFromSyncDB()
439 static AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
448 return AutofillEntry( in MakeAutofillEntry()
452 static AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
458 friend class AddAutofillTask<AutofillEntry>;
[all …]
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc67 using autofill::AutofillEntry;
123 bool(std::vector<AutofillEntry>* entries)); // NOLINT
129 bool(const std::vector<AutofillEntry>&)); // NOLINT
185 syncer::ModelType GetModelType<AutofillEntry>() { in GetModelType()
616 bool AddAutofillSyncNode(const AutofillEntry& entry) { in AddAutofillSyncNode()
664 bool GetAutofillEntriesFromSyncDB(std::vector<AutofillEntry>* entries, in GetAutofillEntriesFromSyncDB()
691 entries->push_back(AutofillEntry(key, timestamps)); in GetAutofillEntriesFromSyncDB()
737 static AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
750 return AutofillEntry( in MakeAutofillEntry()
754 static AutofillEntry MakeAutofillEntry(const char* name, in MakeAutofillEntry()
[all …]
/external/chromium_org/chrome/browser/webdata/
Dautocomplete_syncable_service.cc22 using autofill::AutofillEntry;
150 std::vector<AutofillEntry> entries; in MergeDataAndStartSyncing()
159 for (std::vector<AutofillEntry>::iterator it = entries.begin(); in MergeDataAndStartSyncing()
167 std::vector<AutofillEntry> new_synced_entries; in MergeDataAndStartSyncing()
222 std::vector<AutofillEntry> entries; in GetAllSyncData()
226 for (std::vector<AutofillEntry>::iterator it = entries.begin(); in GetAllSyncData()
249 std::vector<AutofillEntry> entries; in ProcessSyncChanges()
251 std::vector<AutofillEntry> new_entries; in ProcessSyncChanges()
268 for (std::vector<AutofillEntry>::iterator it = entries.begin(); in ProcessSyncChanges()
329 std::vector<AutofillEntry>* entries) const { in LoadAutofillData()
[all …]
Dautocomplete_syncable_service.h96 std::vector<autofill::AutofillEntry>* entries) const;
102 const std::vector<autofill::AutofillEntry>& entries);
121 std::vector<autofill::AutofillEntry>::iterator> >
132 std::vector<autofill::AutofillEntry>* new_entries);
135 static void WriteAutofillEntry(const autofill::AutofillEntry& entry,
142 syncer::SyncData CreateSyncData(const autofill::AutofillEntry& entry) const;
/external/chromium_org/chrome/browser/sync/test/integration/
Dautofill_helper.cc27 using autofill::AutofillEntry;
102 std::vector<AutofillEntry>* entries) { in GetAllAutofillEntriesOnDBThread()
108 std::vector<AutofillEntry> GetAllAutofillEntries(AutofillWebDataService* wds) { in GetAllAutofillEntries()
109 std::vector<AutofillEntry> entries; in GetAllAutofillEntries()
216 std::set<AutofillEntry> keys = GetAllKeys(profile); in RemoveKeys()
217 for (std::set<AutofillEntry>::const_iterator it = keys.begin(); in RemoveKeys()
224 std::set<AutofillEntry> GetAllKeys(int profile) { in GetAllKeys()
226 std::vector<AutofillEntry> all_entries = GetAllAutofillEntries(wds.get()); in GetAllKeys()
227 std::set<AutofillEntry> all_keys; in GetAllKeys()
228 for (std::vector<AutofillEntry>::const_iterator it = all_entries.begin(); in GetAllKeys()
Dautofill_helper.h18 class AutofillEntry; variable
56 std::set<autofill::AutofillEntry> GetAllKeys(int profile) WARN_UNUSED_RESULT;
/external/chromium/chrome/browser/sync/glue/
Dautofill_change_processor.h23 class AutofillEntry; variable
63 static void WriteAutofillEntry(const AutofillEntry& entry,
93 std::vector<AutofillEntry>* new_entries,
Dautofill_model_associator.cc36 std::vector<AutofillEntry> new_entries;
66 const std::vector<AutofillEntry>& all_entries_from_db, in TraverseAndAssociateChromeAutofillEntries()
68 std::vector<AutofillEntry>* new_entries) { in TraverseAndAssociateChromeAutofillEntries()
70 const std::vector<AutofillEntry>& entries = all_entries_from_db; in TraverseAndAssociateChromeAutofillEntries()
71 for (std::vector<AutofillEntry>::const_iterator ix = entries.begin(); in TraverseAndAssociateChromeAutofillEntries()
89 AutofillEntry new_entry(ix->key(), timestamps); in TraverseAndAssociateChromeAutofillEntries()
120 std::vector<AutofillEntry>* entries, in LoadAutofillData()
144 std::vector<AutofillEntry> entries; in AssociateModels()
340 bundle->new_entries.push_back(AutofillEntry(key, timestamps)); in AddNativeEntryIfNeeded()
Dautofill_model_associator.h127 bool LoadAutofillData(std::vector<AutofillEntry>* entries,
135 const std::vector<AutofillEntry>& all_entries_from_db,
137 std::vector<AutofillEntry>* new_entries);
Dautofill_change_processor.cc122 WriteAutofillEntry(AutofillEntry(change->key(), timestamps), in ObserveAutofillEntriesChanged()
157 WriteAutofillEntry(AutofillEntry(change->key(), timestamps), in ObserveAutofillEntriesChanged()
261 std::vector<AutofillEntry> new_entries; in CommitChangesFromSyncModel()
317 std::vector<AutofillEntry>* new_entries, in ApplySyncAutofillEntryChange()
328 AutofillEntry new_entry(k, timestamps); in ApplySyncAutofillEntryChange()
432 const AutofillEntry& entry, in WriteAutofillEntry()