/external/chromium/chrome/browser/password_manager/ |
D | password_store_mac_internal.h | 28 std::vector<webkit_glue::PasswordForm*> PasswordsFillingForm( 29 const webkit_glue::PasswordForm& query_form); 34 std::vector<webkit_glue::PasswordForm*> PasswordsMergeableWithForm( 35 const webkit_glue::PasswordForm& query_form); 41 webkit_glue::PasswordForm* PasswordExactlyMatchingForm( 42 const webkit_glue::PasswordForm& query_form); 49 const webkit_glue::PasswordForm& query_form); 52 std::vector<webkit_glue::PasswordForm*> GetAllPasswordFormPasswords(); 57 bool AddPassword(const webkit_glue::PasswordForm& form); 61 bool RemovePassword(const webkit_glue::PasswordForm& form); [all …]
|
D | password_store_mac_unittest.cc | 22 using webkit_glue::PasswordForm; 33 const std::vector<webkit_glue::PasswordForm*>&)); 130 const PasswordForm::Scheme scheme; 146 static PasswordForm* CreatePasswordFormFromData( in CreatePasswordFormFromData() 148 PasswordForm* form = new PasswordForm(); in CreatePasswordFormFromData() 184 const std::vector<PasswordForm*>& forms, in CheckFormsAgainstExpectations() 198 PasswordForm* form = forms[i]; in CheckFormsAgainstExpectations() 230 const PasswordForm::Scheme scheme; in TEST_F() 245 { PasswordForm::SCHEME_HTML, "http://some.domain.com/", in TEST_F() 248 { PasswordForm::SCHEME_HTML, "http://some.domain.com/", in TEST_F() [all …]
|
D | password_manager_unittest.cc | 21 using webkit_glue::PasswordForm; 53 MOCK_METHOD1(RemoveLogin, void(const PasswordForm&)); 54 MOCK_METHOD2(GetLogins, int(const PasswordForm&, PasswordStoreConsumer*)); 55 MOCK_METHOD1(AddLogin, void(const PasswordForm&)); 56 MOCK_METHOD1(UpdateLogin, void(const PasswordForm&)); 59 MOCK_METHOD1(AddLoginImpl, void(const PasswordForm&)); 60 MOCK_METHOD1(UpdateLoginImpl, void(const PasswordForm&)); 61 MOCK_METHOD1(RemoveLoginImpl, void(const PasswordForm&)); 64 MOCK_METHOD2(GetLoginsImpl, void(GetLoginsRequest*, const PasswordForm&)); 68 bool(std::vector<webkit_glue::PasswordForm*>*)); [all …]
|
D | password_store_mac.cc | 25 using webkit_glue::PasswordForm; 222 PasswordForm::Scheme SchemeForAuthType(SecAuthenticationType auth_type) { in SchemeForAuthType() 224 case kSecAuthenticationTypeHTMLForm: return PasswordForm::SCHEME_HTML; in SchemeForAuthType() 225 case kSecAuthenticationTypeHTTPBasic: return PasswordForm::SCHEME_BASIC; in SchemeForAuthType() 226 case kSecAuthenticationTypeHTTPDigest: return PasswordForm::SCHEME_DIGEST; in SchemeForAuthType() 227 default: return PasswordForm::SCHEME_OTHER; in SchemeForAuthType() 233 PasswordForm* form) { in FillPasswordFormFromKeychainItem() 338 if (form->scheme != PasswordForm::SCHEME_HTML) { in FillPasswordFormFromKeychainItem() 344 bool FormsMatchForMerge(const PasswordForm& form_a, in FormsMatchForMerge() 345 const PasswordForm& form_b) { in FormsMatchForMerge() [all …]
|
D | password_store_mac.h | 41 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form); 42 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form); 43 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form); 47 const webkit_glue::PasswordForm& form); 51 std::vector<webkit_glue::PasswordForm*>* forms); 53 std::vector<webkit_glue::PasswordForm*>* forms); 58 bool AddToKeychainIfNecessary(const webkit_glue::PasswordForm& form); 63 const webkit_glue::PasswordForm& form); 68 std::vector<webkit_glue::PasswordForm*> GetUnusedKeychainForms(); 72 const std::vector<webkit_glue::PasswordForm*>& forms); [all …]
|
D | password_form_data.cc | 9 using webkit_glue::PasswordForm; 11 PasswordForm* CreatePasswordFormFromData( in CreatePasswordFormFromData() 13 PasswordForm* form = new PasswordForm(); in CreatePasswordFormFromData() 40 bool operator==(const PasswordForm& lhs, const PasswordForm& rhs) { in operator ==() 56 std::ostream& operator<<(std::ostream& os, const PasswordForm& form) { in operator <<() 72 typedef std::set<const webkit_glue::PasswordForm*> SetOfForms; 75 const std::vector<PasswordForm*>& first, in ContainsSamePasswordFormsPtr() 76 const std::vector<PasswordForm*>& second) { in ContainsSamePasswordFormsPtr() 81 const PasswordForm* actual = second[i]; in ContainsSamePasswordFormsPtr() 85 const PasswordForm* expected = *it; in ContainsSamePasswordFormsPtr() [all …]
|
D | login_database.h | 34 bool AddLogin(const webkit_glue::PasswordForm& form); 38 bool UpdateLogin(const webkit_glue::PasswordForm& form, int* items_changed); 41 bool RemoveLogin(const webkit_glue::PasswordForm& form); 52 bool GetLogins(const webkit_glue::PasswordForm& form, 53 std::vector<webkit_glue::PasswordForm*>* forms) const; 61 std::vector<webkit_glue::PasswordForm*>* forms) const; 66 std::vector<webkit_glue::PasswordForm*>* forms) const; 69 bool GetBlacklistLogins(std::vector<webkit_glue::PasswordForm*>* forms) const; 90 void InitPasswordFormFromStatement(webkit_glue::PasswordForm* form, 96 bool blacklisted, std::vector<webkit_glue::PasswordForm*>* forms) const;
|
D | password_store_x.h | 32 typedef std::vector<webkit_glue::PasswordForm*> PasswordFormList; 38 virtual bool AddLogin(const webkit_glue::PasswordForm& form) = 0; 39 virtual bool UpdateLogin(const webkit_glue::PasswordForm& form) = 0; 40 virtual bool RemoveLogin(const webkit_glue::PasswordForm& form) = 0; 43 virtual bool GetLogins(const webkit_glue::PasswordForm& form, 65 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form); 66 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form); 67 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form); 71 const webkit_glue::PasswordForm& form); 75 std::vector<webkit_glue::PasswordForm*>* forms); [all …]
|
D | password_store.h | 28 struct PasswordForm; 39 const std::vector<webkit_glue::PasswordForm*>&>::Type 51 GetLoginsCallback, std::vector<webkit_glue::PasswordForm*> > { 81 virtual void AddLogin(const webkit_glue::PasswordForm& form); 84 void UpdateLogin(const webkit_glue::PasswordForm& form); 87 void RemoveLogin(const webkit_glue::PasswordForm& form); 96 virtual Handle GetLogins(const webkit_glue::PasswordForm& form, 139 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form) = 0; 141 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form) = 0; 143 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form) = 0; [all …]
|
D | password_form_manager.h | 34 const webkit_glue::PasswordForm& observed_form, 39 bool DoesManage(const webkit_glue::PasswordForm& form) const; 72 int handle, const std::vector<webkit_glue::PasswordForm*>& result); 77 const std::vector<webkit_glue::PasswordForm*>& result); 86 void ProvisionallySave(const webkit_glue::PasswordForm& credentials); 143 bool IgnoreResult(const webkit_glue::PasswordForm& form) const; 153 int ScoreResult(const webkit_glue::PasswordForm& form) const; 180 webkit_glue::PasswordForm observed_form_; 188 webkit_glue::PasswordForm pending_credentials_; 204 const webkit_glue::PasswordForm* preferred_match_;
|
D | login_database.cc | 19 using webkit_glue::PasswordForm; 159 bool LoginDatabase::AddLogin(const PasswordForm& form) { in AddLogin() 196 bool LoginDatabase::UpdateLogin(const PasswordForm& form, int* items_changed) { in UpdateLogin() 235 bool LoginDatabase::RemoveLogin(const PasswordForm& form) { in RemoveLogin() 280 void LoginDatabase::InitPasswordFormFromStatement(PasswordForm* form, in InitPasswordFormFromStatement() 301 DCHECK((scheme_int >= 0) && (scheme_int <= PasswordForm::SCHEME_OTHER)); in InitPasswordFormFromStatement() 302 form->scheme = static_cast<PasswordForm::Scheme>(scheme_int); in InitPasswordFormFromStatement() 305 bool LoginDatabase::GetLogins(const PasswordForm& form, in GetLogins() 306 std::vector<PasswordForm*>* forms) const { in GetLogins() 324 PasswordForm* new_form = new PasswordForm(); in GetLogins() [all …]
|
D | password_store_win.cc | 17 using webkit_glue::PasswordForm; 31 void SetLoginsRequestForm(const PasswordForm& form) { in SetLoginsRequestForm() 32 form_.reset(new PasswordForm(form)); in SetLoginsRequestForm() 34 PasswordForm* form() const { in form() 40 scoped_ptr<PasswordForm> form_; 67 PasswordForm* GetIE7Result(const WDTypedResult* result, 68 const PasswordForm& form); 104 PasswordForm* PasswordStoreWin::DBHandler::GetIE7Result( in GetIE7Result() 106 const PasswordForm& form) { in GetIE7Result() 126 PasswordForm* autofill = new PasswordForm(form); in GetIE7Result() [all …]
|
D | password_form_manager_unittest.cc | 15 using webkit_glue::PasswordForm; 42 PasswordForm* GetPendingCredentials(PasswordFormManager* p) { in GetPendingCredentials() 52 PasswordForm* match = new PasswordForm(saved_match_); in SimulateMatchingPhase() 58 bool IgnoredResult(PasswordFormManager* p, PasswordForm* form) { in IgnoredResult() 64 PasswordForm* observed_form() { return &observed_form_; } in observed_form() 65 PasswordForm* saved_match() { return &saved_match_; } in saved_match() 68 PasswordForm observed_form_; 69 PasswordForm saved_match_; 78 PasswordForm credentials = *observed_form(); in TEST_F() 139 PasswordForm credentials = *observed_form(); in TEST_F() [all …]
|
D | password_form_data.h | 15 const webkit_glue::PasswordForm::Scheme scheme; 31 webkit_glue::PasswordForm* CreatePasswordFormFromData( 37 const std::vector<webkit_glue::PasswordForm*>& first, 38 const std::vector<webkit_glue::PasswordForm*>& second); 41 std::vector<webkit_glue::PasswordForm>& first, 42 std::vector<webkit_glue::PasswordForm>& second);
|
D | password_store_win_unittest.cc | 33 using webkit_glue::PasswordForm; 41 const std::vector<webkit_glue::PasswordForm*>&)); 52 typedef std::vector<PasswordForm*> VectorOfForms; 146 return static_cast<const WDResult<std::vector<PasswordForm*> >*>( 186 PasswordForm::SCHEME_HTML, in TEST_F() 197 scoped_ptr<PasswordForm> form(CreatePasswordFormFromData(form_data)); in TEST_F() 200 PasswordForm::SCHEME_HTML, in TEST_F() 211 std::vector<PasswordForm*> forms; in TEST_F() 239 PasswordForm::SCHEME_HTML, in TEST_F() 250 scoped_ptr<PasswordForm> form(CreatePasswordFormFromData(form_data)); in TEST_F() [all …]
|
D | login_database_unittest.cc | 17 using webkit_glue::PasswordForm; 42 std::vector<PasswordForm*> result; in TEST_F() 49 PasswordForm form; in TEST_F() 60 form.scheme = PasswordForm::SCHEME_HTML; in TEST_F() 76 PasswordForm form2(form); in TEST_F() 87 PasswordForm form3(form2); in TEST_F() 97 PasswordForm form4(form3); in TEST_F() 132 PasswordForm form5(form4); in TEST_F() 142 PasswordForm form6(form5); in TEST_F() 181 PasswordForm form; in AddTimestampedLogin() [all …]
|
D | native_backend_gnome_x.h | 14 struct PasswordForm; 27 virtual bool AddLogin(const webkit_glue::PasswordForm& form); 28 virtual bool UpdateLogin(const webkit_glue::PasswordForm& form); 29 virtual bool RemoveLogin(const webkit_glue::PasswordForm& form); 32 virtual bool GetLogins(const webkit_glue::PasswordForm& form, 42 bool RawAddLogin(const webkit_glue::PasswordForm& form);
|
D | password_store_x.cc | 17 using webkit_glue::PasswordForm; 30 void PasswordStoreX::AddLoginImpl(const PasswordForm& form) { in AddLoginImpl() 45 void PasswordStoreX::UpdateLoginImpl(const PasswordForm& form) { in UpdateLoginImpl() 60 void PasswordStoreX::RemoveLoginImpl(const PasswordForm& form) { in RemoveLoginImpl() 79 vector<PasswordForm*> forms; in RemoveLoginsCreatedBetweenImpl() 84 for (vector<PasswordForm*>::const_iterator it = forms.begin(); in RemoveLoginsCreatedBetweenImpl() 102 const PasswordForm& form) { in GetLoginsImpl() 143 bool PasswordStoreX::FillAutofillableLogins(vector<PasswordForm*>* forms) { in FillAutofillableLogins() 154 bool PasswordStoreX::FillBlacklistLogins(vector<PasswordForm*>* forms) { in FillBlacklistLogins() 200 vector<PasswordForm*> forms; in MigrateLogins() [all …]
|
D | password_form_manager.cc | 18 using webkit_glue::PasswordForm; 23 const PasswordForm& observed_form, in PasswordFormManager() 54 bool PasswordFormManager::DoesManage(const PasswordForm& form) const { in DoesManage() 55 if (form.scheme != PasswordForm::SCHEME_HTML) in DoesManage() 148 if (observed_form_.scheme != PasswordForm::SCHEME_HTML) in HasValidPasswordForm() 154 void PasswordFormManager::ProvisionallySave(const PasswordForm& credentials) { in ProvisionallySave() 216 const std::vector<PasswordForm*>& logins_result) { in OnRequestDone() 222 std::vector<PasswordForm> empties; // Empty-path matches in result set. in OnRequestDone() 242 if ((observed_form_.scheme == PasswordForm::SCHEME_HTML) && in OnRequestDone() 273 for (std::vector<PasswordForm>::const_iterator it = empties.begin(); in OnRequestDone() [all …]
|
D | password_store_default.h | 34 virtual void AddLoginImpl(const webkit_glue::PasswordForm& form); 35 virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form); 36 virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form); 40 const webkit_glue::PasswordForm& form); 44 std::vector<webkit_glue::PasswordForm*>* forms); 46 std::vector<webkit_glue::PasswordForm*>* forms);
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_password_unittest.cc | 74 using webkit_glue::PasswordForm; 99 MOCK_METHOD1(RemoveLogin, void(const PasswordForm&)); 100 MOCK_METHOD2(GetLogins, int(const PasswordForm&, PasswordStoreConsumer*)); 101 MOCK_METHOD1(AddLogin, void(const PasswordForm&)); 102 MOCK_METHOD1(UpdateLogin, void(const PasswordForm&)); 105 MOCK_METHOD1(AddLoginImpl, void(const PasswordForm&)); 106 MOCK_METHOD1(UpdateLoginImpl, void(const PasswordForm&)); 107 MOCK_METHOD1(RemoveLoginImpl, void(const PasswordForm&)); 110 MOCK_METHOD2(GetLoginsImpl, void(GetLoginsRequest*, const PasswordForm&)); 114 bool(std::vector<PasswordForm*>*)); [all …]
|
/external/chromium/chrome/browser/webdata/ |
D | logins_table.h | 18 struct PasswordForm; 57 bool AddLogin(const webkit_glue::PasswordForm& form); 71 bool UpdateLogin(const webkit_glue::PasswordForm& form); 74 bool RemoveLogin(const webkit_glue::PasswordForm& form); 85 bool GetLogins(const webkit_glue::PasswordForm& form, 86 std::vector<webkit_glue::PasswordForm*>* forms); 92 bool GetAllLogins(std::vector<webkit_glue::PasswordForm*>* forms,
|
D | logins_table.cc | 15 using webkit_glue::PasswordForm; 19 void InitPasswordFormFromStatement(PasswordForm* form, sql::Statement* s) { in InitPasswordFormFromStatement() 47 DCHECK((scheme_int >= 0) && (scheme_int <= PasswordForm::SCHEME_OTHER)); in InitPasswordFormFromStatement() 48 form->scheme = static_cast<PasswordForm::Scheme>(scheme_int); in InitPasswordFormFromStatement() 108 bool LoginsTable::AddLogin(const PasswordForm& form) { in AddLogin() 145 bool LoginsTable::UpdateLogin(const PasswordForm& form) { in UpdateLogin() 182 bool LoginsTable::RemoveLogin(const PasswordForm& form) { in RemoveLogin() 244 bool LoginsTable::GetLogins(const PasswordForm& form, in GetLogins() 245 std::vector<PasswordForm*>* forms) { in GetLogins() 263 PasswordForm* new_form = new PasswordForm(); in GetLogins() [all …]
|
D | logins_table_unittest.cc | 17 using webkit_glue::PasswordForm; 49 std::vector<PasswordForm*> result; in TEST_F() 56 PasswordForm form; in TEST_F() 67 form.scheme = PasswordForm::SCHEME_HTML; in TEST_F() 83 PasswordForm form2(form); in TEST_F() 94 PasswordForm form3(form2); in TEST_F() 104 PasswordForm form4(form3); in TEST_F() 139 PasswordForm form5(form4); in TEST_F() 149 PasswordForm form6(form5); in TEST_F() 181 PasswordForm form; in AddTimestampedLogin() [all …]
|
/external/chromium/webkit/glue/ |
D | password_form.cc | 9 PasswordForm::PasswordForm() in PasswordForm() function in webkit_glue::PasswordForm 16 PasswordForm::PasswordForm(const WebKit::WebPasswordFormData& web_password_form) in PasswordForm() function in webkit_glue::PasswordForm 33 PasswordForm::~PasswordForm() { in ~PasswordForm()
|