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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_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_gnome_x.h
diff --git a/chrome/browser/password_manager/native_backend_gnome_x.h b/chrome/browser/password_manager/native_backend_gnome_x.h
index 233eb84854d71f4574d1a530d98a2d0c4473228d..f4218314e5351b997aac3fdb58d6c506dbd0788d 100644
--- a/chrome/browser/password_manager/native_backend_gnome_x.h
+++ b/chrome/browser/password_manager/native_backend_gnome_x.h
@@ -17,11 +17,9 @@
class PrefService;
-namespace webkit {
-namespace forms {
+namespace content {
struct PasswordForm;
}
-}
// Many of the gnome_keyring_* functions use variable arguments, which makes
// them difficult if not impossible to truly wrap in C. Therefore, we use
@@ -75,12 +73,12 @@ class NativeBackendGnome : 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,
@@ -90,7 +88,7 @@ class NativeBackendGnome : public PasswordStoreX::NativeBackend,
private:
// Adds a login form without checking for one to replace first.
- bool RawAddLogin(const webkit::forms::PasswordForm& form);
+ bool RawAddLogin(const content::PasswordForm& form);
// Reads PasswordForms from the keyring with the given autofillability state.
bool GetLoginsList(PasswordFormList* forms, bool autofillable);
« no previous file with comments | « chrome/browser/password_manager/mock_password_store.h ('k') | chrome/browser/password_manager/native_backend_gnome_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698