Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5066)

Unified Diff: chrome/browser/password_manager/password_store_x.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/password_store_x.h
diff --git a/chrome/browser/password_manager/password_store_x.h b/chrome/browser/password_manager/password_store_x.h
index ae64993a49f6d7e4c447f668b4edf16d2e2bd2df..9fddfcda93d35b7394e792392c2a695f8b9c9c09 100644
--- a/chrome/browser/password_manager/password_store_x.h
+++ b/chrome/browser/password_manager/password_store_x.h
@@ -30,18 +30,18 @@ class PasswordStoreX : public PasswordStoreDefault {
// with return values rather than implicit consumer notification.
class NativeBackend {
public:
- typedef std::vector<webkit_glue::PasswordForm*> PasswordFormList;
+ typedef std::vector<webkit::forms::PasswordForm*> PasswordFormList;
virtual ~NativeBackend() {}
virtual bool Init() = 0;
- virtual bool AddLogin(const webkit_glue::PasswordForm& form) = 0;
- virtual bool UpdateLogin(const webkit_glue::PasswordForm& form) = 0;
- virtual bool RemoveLogin(const webkit_glue::PasswordForm& form) = 0;
+ virtual bool AddLogin(const webkit::forms::PasswordForm& form) = 0;
+ virtual bool UpdateLogin(const webkit::forms::PasswordForm& form) = 0;
+ virtual bool RemoveLogin(const webkit::forms::PasswordForm& form) = 0;
virtual bool RemoveLoginsCreatedBetween(const base::Time& delete_begin,
const base::Time& delete_end) = 0;
- virtual bool GetLogins(const webkit_glue::PasswordForm& form,
+ virtual bool GetLogins(const webkit::forms::PasswordForm& form,
PasswordFormList* forms) = 0;
virtual bool GetLoginsCreatedBetween(const base::Time& get_begin,
const base::Time& get_end,
@@ -76,19 +76,21 @@ class PasswordStoreX : public PasswordStoreDefault {
virtual ~PasswordStoreX();
// Implements PasswordStore interface.
- virtual void AddLoginImpl(const webkit_glue::PasswordForm& form) OVERRIDE;
- virtual void UpdateLoginImpl(const webkit_glue::PasswordForm& form) OVERRIDE;
- virtual void RemoveLoginImpl(const webkit_glue::PasswordForm& form) OVERRIDE;
+ virtual void AddLoginImpl(const webkit::forms::PasswordForm& form) OVERRIDE;
+ virtual void UpdateLoginImpl(
+ const webkit::forms::PasswordForm& form) OVERRIDE;
+ virtual void RemoveLoginImpl(
+ const webkit::forms::PasswordForm& form) OVERRIDE;
virtual void RemoveLoginsCreatedBetweenImpl(
const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
virtual void GetLoginsImpl(GetLoginsRequest* request,
- const webkit_glue::PasswordForm& form) OVERRIDE;
+ const webkit::forms::PasswordForm& form) OVERRIDE;
virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE;
virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE;
virtual bool FillAutofillableLogins(
- std::vector<webkit_glue::PasswordForm*>* forms) OVERRIDE;
+ std::vector<webkit::forms::PasswordForm*>* forms) OVERRIDE;
virtual bool FillBlacklistLogins(
- std::vector<webkit_glue::PasswordForm*>* forms) OVERRIDE;
+ std::vector<webkit::forms::PasswordForm*>* forms) OVERRIDE;
// Sort logins by origin, like the ORDER BY clause in login_database.cc.
void SortLoginsByOrigin(NativeBackend::PasswordFormList* list);
« no previous file with comments | « chrome/browser/password_manager/password_store_win_unittest.cc ('k') | chrome/browser/password_manager/password_store_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698