Lines Matching defs:store
81 void AddLogin(PasswordStore* store, const PasswordForm& form) {
82 ASSERT_TRUE(store);
84 store->AddLogin(form);
85 store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event));
89 void UpdateLogin(PasswordStore* store, const PasswordForm& form) {
90 ASSERT_TRUE(store);
92 store->UpdateLogin(form);
93 store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event));
97 void GetLogins(PasswordStore* store, std::vector<PasswordForm>& matches) {
98 ASSERT_TRUE(store);
102 store->GetLogins(matcher_form, PasswordStore::DISALLOW_PROMPT, &consumer);
106 void RemoveLogin(PasswordStore* store, const PasswordForm& form) {
107 ASSERT_TRUE(store);
109 store->RemoveLogin(form);
110 store->ScheduleTask(base::Bind(&PasswordStoreCallback, &wait_event));
114 void RemoveLogins(PasswordStore* store) {
116 GetLogins(store, forms);
119 RemoveLogin(store, *it);