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

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

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 months 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 f4e3bfd23ba11a4dc96b2e48cde24641e01f4551..92295df15701361f28b8e9d56a1a5897e60d4335 100644
--- a/chrome/browser/password_manager/password_store_x.h
+++ b/chrome/browser/password_manager/password_store_x.h
@@ -32,18 +32,18 @@ class PasswordStoreX : public PasswordStoreDefault {
// with return values rather than implicit consumer notification.
class NativeBackend {
public:
- typedef std::vector<content::PasswordForm*> PasswordFormList;
+ typedef std::vector<autofill::PasswordForm*> PasswordFormList;
virtual ~NativeBackend() {}
virtual bool Init() = 0;
- virtual bool AddLogin(const content::PasswordForm& form) = 0;
- virtual bool UpdateLogin(const content::PasswordForm& form) = 0;
- virtual bool RemoveLogin(const content::PasswordForm& form) = 0;
+ virtual bool AddLogin(const autofill::PasswordForm& form) = 0;
+ virtual bool UpdateLogin(const autofill::PasswordForm& form) = 0;
+ virtual bool RemoveLogin(const autofill::PasswordForm& form) = 0;
virtual bool RemoveLoginsCreatedBetween(const base::Time& delete_begin,
const base::Time& delete_end) = 0;
- virtual bool GetLogins(const content::PasswordForm& form,
+ virtual bool GetLogins(const autofill::PasswordForm& form,
PasswordFormList* forms) = 0;
virtual bool GetLoginsCreatedBetween(const base::Time& get_begin,
const base::Time& get_end,
@@ -77,22 +77,22 @@ class PasswordStoreX : public PasswordStoreDefault {
virtual ~PasswordStoreX();
// Implements PasswordStore interface.
- virtual void AddLoginImpl(const content::PasswordForm& form) OVERRIDE;
+ virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
virtual void UpdateLoginImpl(
- const content::PasswordForm& form) OVERRIDE;
+ const autofill::PasswordForm& form) OVERRIDE;
virtual void RemoveLoginImpl(
- const content::PasswordForm& form) OVERRIDE;
+ const autofill::PasswordForm& form) OVERRIDE;
virtual void RemoveLoginsCreatedBetweenImpl(
const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
virtual void GetLoginsImpl(
- const content::PasswordForm& form,
+ const autofill::PasswordForm& form,
const ConsumerCallbackRunner& callback_runner) OVERRIDE;
virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request) OVERRIDE;
virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request) OVERRIDE;
virtual bool FillAutofillableLogins(
- std::vector<content::PasswordForm*>* forms) OVERRIDE;
+ std::vector<autofill::PasswordForm*>* forms) OVERRIDE;
virtual bool FillBlacklistLogins(
- std::vector<content::PasswordForm*>* forms) OVERRIDE;
+ std::vector<autofill::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