summaryrefslogtreecommitdiffstats
path: root/chrome/browser/password_manager/login_database.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 19:50:56 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 19:50:56 +0000
commited3fb034eb4b7da69bbc4f3e3da47093dabc481e (patch)
treed08b2837ab8b05b98fef6990edd26a9d00465589 /chrome/browser/password_manager/login_database.h
parent5eb55c2f42f70fe544a04d200cdd059377d310f7 (diff)
downloadchromium_src-ed3fb034eb4b7da69bbc4f3e3da47093dabc481e.zip
chromium_src-ed3fb034eb4b7da69bbc4f3e3da47093dabc481e.tar.gz
chromium_src-ed3fb034eb4b7da69bbc4f3e3da47093dabc481e.tar.bz2
Extract load times from WebDataSource. Move them to NavigationState.
Move PasswordForm into the webkit_glue namespace. TEST=none BUG=10041 R=brettw Review URL: http://codereview.chromium.org/126190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/password_manager/login_database.h')
-rw-r--r--chrome/browser/password_manager/login_database.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/password_manager/login_database.h b/chrome/browser/password_manager/login_database.h
index bc067dd..ce53993 100644
--- a/chrome/browser/password_manager/login_database.h
+++ b/chrome/browser/password_manager/login_database.h
@@ -28,13 +28,13 @@ class LoginDatabase {
bool Init(const std::string& db_name);
// Adds |form| to the list of remembered password forms.
- bool AddLogin(const PasswordForm& form);
+ bool AddLogin(const webkit_glue::PasswordForm& form);
// Updates remembered password form.
- bool UpdateLogin(const PasswordForm& form);
+ bool UpdateLogin(const webkit_glue::PasswordForm& form);
// Removes |form| from the list of remembered password forms.
- bool RemoveLogin(const PasswordForm& form);
+ bool RemoveLogin(const webkit_glue::PasswordForm& form);
// Removes all logins created from |delete_begin| onwards (inclusive) and
// before |delete_end|. You may use a null Time value to do an unbounded
@@ -45,14 +45,14 @@ class LoginDatabase {
// Loads a list of matching password forms into the specified vector |forms|.
// The list will contain all possibly relevant entries to the observed |form|,
// including blacklisted matches.
- bool GetLogins(const PasswordForm& form,
- std::vector<PasswordForm*>* forms) const;
+ bool GetLogins(const webkit_glue::PasswordForm& form,
+ std::vector<webkit_glue::PasswordForm*>* forms) const;
// Loads the complete list of password forms into the specified vector |forms|
// if include_blacklisted is true, otherwise only loads those which are
// actually autofillable; i.e haven't been blacklisted by the user selecting
// the 'Never for this site' button.
- bool GetAllLogins(std::vector<PasswordForm*>* forms,
+ bool GetAllLogins(std::vector<webkit_glue::PasswordForm*>* forms,
bool include_blacklisted) const;
protected:
@@ -69,7 +69,7 @@ class LoginDatabase {
private:
// Fills |form| from the values in the given statement (which is assumed to
// be of the form used by GetLogins/GetAllLogins).
- void InitPasswordFormFromStatement(PasswordForm* form,
+ void InitPasswordFormFromStatement(webkit_glue::PasswordForm* form,
SQLStatement* s) const;
sqlite3* db_;