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

Unified Diff: chrome/browser/sync/test/integration/passwords_helper.h

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/passwords_helper.h
diff --git a/chrome/browser/sync/test/integration/passwords_helper.h b/chrome/browser/sync/test/integration/passwords_helper.h
index 737a81108e368db7b5c7cecc4cdb2eff7d3391f0..23229441bd85c1278d117138245f054325bf76c5 100644
--- a/chrome/browser/sync/test/integration/passwords_helper.h
+++ b/chrome/browser/sync/test/integration/passwords_helper.h
@@ -11,7 +11,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 "webkit/forms/password_form.h"
+#include "content/public/common/password_form.h"
class PasswordStore;
@@ -20,21 +20,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 webkit::forms::PasswordForm& form);
+void AddLogin(PasswordStore* store, const content::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 webkit::forms::PasswordForm& form);
+void UpdateLogin(PasswordStore* store, const content::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<webkit::forms::PasswordForm>& matches);
+ std::vector<content::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 webkit::forms::PasswordForm& form);
+void RemoveLogin(PasswordStore* store, const content::PasswordForm& form);
// Removes all password forms from the password store |store|.
void RemoveLogins(PasswordStore* store);
@@ -80,7 +80,7 @@ int GetVerifierPasswordCount();
// Creates a test password form with a well known fake signon realm used only
// by LivePasswordsSyncTest based on |index|.
-webkit::forms::PasswordForm CreateTestPasswordForm(int index);
+content::PasswordForm CreateTestPasswordForm(int index);
} // namespace passwords_helper

Powered by Google App Engine
This is Rietveld 408576698