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

Unified Diff: chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc

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/performance/passwords_sync_perf_test.cc
diff --git a/chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc
index c6542d25a5ea643c31863c44b8ea9178fa070a94..d7eef3def459d8c8fc9a5194284b17602bc0cd02 100644
--- a/chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc
@@ -34,7 +34,7 @@ class PasswordsSyncPerfTest : public SyncTest {
private:
// Returns a new unique login.
- content::PasswordForm NextLogin();
+ autofill::PasswordForm NextLogin();
// Returns a new unique password value.
std::string NextPassword();
@@ -50,9 +50,9 @@ void PasswordsSyncPerfTest::AddLogins(int profile, int num_logins) {
}
void PasswordsSyncPerfTest::UpdateLogins(int profile) {
- std::vector<content::PasswordForm> logins;
+ std::vector<autofill::PasswordForm> logins;
GetLogins(GetPasswordStore(profile), logins);
- for (std::vector<content::PasswordForm>::iterator it = logins.begin();
+ for (std::vector<autofill::PasswordForm>::iterator it = logins.begin();
it != logins.end(); ++it) {
(*it).password_value = ASCIIToUTF16(NextPassword());
UpdateLogin(GetPasswordStore(profile), (*it));
@@ -63,7 +63,7 @@ void PasswordsSyncPerfTest::RemoveLogins(int profile) {
passwords_helper::RemoveLogins(GetPasswordStore(profile));
}
-content::PasswordForm PasswordsSyncPerfTest::NextLogin() {
+autofill::PasswordForm PasswordsSyncPerfTest::NextLogin() {
return CreateTestPasswordForm(password_number_++);
}

Powered by Google App Engine
This is Rietveld 408576698