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

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

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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 ffd64e9cd1ac8322b42edc000945da541cf79b86..16eb8082beee2a155a615bdea466d19b5c5313ef 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.
- webkit::forms::PasswordForm NextLogin();
+ content::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<webkit::forms::PasswordForm> logins;
+ std::vector<content::PasswordForm> logins;
GetLogins(GetPasswordStore(profile), logins);
- for (std::vector<webkit::forms::PasswordForm>::iterator it = logins.begin();
+ for (std::vector<content::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));
}
-webkit::forms::PasswordForm PasswordsSyncPerfTest::NextLogin() {
+content::PasswordForm PasswordsSyncPerfTest::NextLogin() {
return CreateTestPasswordForm(password_number_++);
}

Powered by Google App Engine
This is Rietveld 408576698