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

Unified Diff: chrome/browser/password_manager/test_password_store.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/test_password_store.h
diff --git a/chrome/browser/password_manager/test_password_store.h b/chrome/browser/password_manager/test_password_store.h
index a7d2f1714d8a507b25e38d94d7cf255f9339c0e1..9e888fb81a00b7d6b124d79e8bd8f590e532b846 100644
--- a/chrome/browser/password_manager/test_password_store.h
+++ b/chrome/browser/password_manager/test_password_store.h
@@ -33,7 +33,7 @@ class TestPasswordStore : public PasswordStore {
content::BrowserContext* profile);
typedef std::map<std::string /* signon_realm */,
- std::vector<content::PasswordForm> > PasswordMap;
+ std::vector<autofill::PasswordForm> > PasswordMap;
PasswordMap stored_passwords();
void Clear();
@@ -42,14 +42,14 @@ class TestPasswordStore : public PasswordStore {
virtual ~TestPasswordStore();
// Helper function to determine if forms are considered equivalent.
- bool FormsAreEquivalent(const content::PasswordForm& lhs,
- const content::PasswordForm& rhs);
+ bool FormsAreEquivalent(const autofill::PasswordForm& lhs,
+ const autofill::PasswordForm& rhs);
// PasswordStore interface
- virtual void AddLoginImpl(const content::PasswordForm& form) OVERRIDE;
- virtual void UpdateLoginImpl(const content::PasswordForm& form) OVERRIDE;
- virtual void RemoveLoginImpl(const content::PasswordForm& form) OVERRIDE;
- virtual void GetLoginsImpl(const content::PasswordForm& form,
+ virtual void AddLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
+ virtual void UpdateLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
+ virtual void RemoveLoginImpl(const autofill::PasswordForm& form) OVERRIDE;
+ virtual void GetLoginsImpl(const autofill::PasswordForm& form,
const ConsumerCallbackRunner& runner) OVERRIDE;
virtual bool ScheduleTask(const base::Closure& task) OVERRIDE;
virtual void WrapModificationTask(base::Closure task) OVERRIDE;
@@ -63,9 +63,9 @@ class TestPasswordStore : public PasswordStore {
virtual void GetBlacklistLoginsImpl(
PasswordStore::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;
virtual void ShutdownOnUIThread() OVERRIDE {}
private:
« no previous file with comments | « chrome/browser/password_manager/password_store_x_unittest.cc ('k') | chrome/browser/password_manager/test_password_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698