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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_x.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/password_manager/native_backend_kwallet_x.h
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.h b/chrome/browser/password_manager/native_backend_kwallet_x.h
index 0bd909e017c57af0f0c77fe3e2e41543e61cca73..4bcfc8f9f8383add706789bc84615a0deab15334 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x.h
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.h
@@ -18,11 +18,9 @@ class Pickle;
class PickleIterator;
class PrefService;
-namespace webkit {
-namespace forms {
+namespace content {
struct PasswordForm;
}
-}
namespace base {
class WaitableEvent;
@@ -43,12 +41,12 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
virtual bool Init() OVERRIDE;
// Implements NativeBackend interface.
- virtual bool AddLogin(const webkit::forms::PasswordForm& form) OVERRIDE;
- virtual bool UpdateLogin(const webkit::forms::PasswordForm& form) OVERRIDE;
- virtual bool RemoveLogin(const webkit::forms::PasswordForm& form) OVERRIDE;
+ virtual bool AddLogin(const content::PasswordForm& form) OVERRIDE;
+ virtual bool UpdateLogin(const content::PasswordForm& form) OVERRIDE;
+ virtual bool RemoveLogin(const content::PasswordForm& form) OVERRIDE;
virtual bool RemoveLoginsCreatedBetween(
const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
- virtual bool GetLogins(const webkit::forms::PasswordForm& form,
+ virtual bool GetLogins(const content::PasswordForm& form,
PasswordFormList* forms) OVERRIDE;
virtual bool GetLoginsCreatedBetween(const base::Time& get_begin,
const base::Time& get_end,
@@ -127,8 +125,8 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
// If |update_check| is false, we only check the fields that are checked by
// LoginDatabase::UpdateLogin() when updating logins; otherwise, we check the
// fields that are checked by LoginDatabase::RemoveLogin() for removing them.
- static bool CompareForms(const webkit::forms::PasswordForm& a,
- const webkit::forms::PasswordForm& b,
+ static bool CompareForms(const content::PasswordForm& a,
+ const content::PasswordForm& b,
bool update_check);
// Serializes a list of PasswordForms to be stored in the wallet.

Powered by Google App Engine
This is Rietveld 408576698