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

Unified Diff: chrome/browser/sync/test/integration/passwords_helper.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/sync/test/integration/passwords_helper.h
diff --git a/chrome/browser/sync/test/integration/passwords_helper.h b/chrome/browser/sync/test/integration/passwords_helper.h
index da633e746b7613b155a2ca413fa50f0a5207716b..7857c67066761824b9b77245f3bb490703da24f3 100644
--- a/chrome/browser/sync/test/integration/passwords_helper.h
+++ b/chrome/browser/sync/test/integration/passwords_helper.h
@@ -10,7 +10,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
-#include "content/public/common/password_form.h"
+#include "components/autofill/core/common/password_form.h"
class PasswordStore;
@@ -19,21 +19,21 @@ namespace passwords_helper {
// Adds the login held in |form| to the password store |store|. Even though
// logins are normally added asynchronously, this method will block until the
// login is added.
-void AddLogin(PasswordStore* store, const content::PasswordForm& form);
+void AddLogin(PasswordStore* store, const autofill::PasswordForm& form);
// Update the data held in password store |store| with a modified |form|.
// This method blocks until the operation is complete.
-void UpdateLogin(PasswordStore* store, const content::PasswordForm& form);
+void UpdateLogin(PasswordStore* store, const autofill::PasswordForm& form);
// Searches |store| for all logins matching a fake signon realm used only by
// LivePasswordsSyncTest and adds the results to |matches|. Note that the
// caller is responsible for deleting the forms added to |matches|.
void GetLogins(PasswordStore* store,
- std::vector<content::PasswordForm>& matches);
+ std::vector<autofill::PasswordForm>& matches);
// Removes the login held in |form| from the password store |store|. This
// method blocks until the operation is complete.
-void RemoveLogin(PasswordStore* store, const content::PasswordForm& form);
+void RemoveLogin(PasswordStore* store, const autofill::PasswordForm& form);
// Removes all password forms from the password store |store|.
void RemoveLogins(PasswordStore* store);
@@ -79,7 +79,7 @@ int GetVerifierPasswordCount();
// Creates a test password form with a well known fake signon realm used only
// by LivePasswordsSyncTest based on |index|.
-content::PasswordForm CreateTestPasswordForm(int index);
+autofill::PasswordForm CreateTestPasswordForm(int index);
} // namespace passwords_helper

Powered by Google App Engine
This is Rietveld 408576698