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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_x.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 b40d3d8e49060241bd5a3529b4e2ee3242db9617..23d259b331f2ccbbea6b911fde393649ca63c405 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x.h
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.h
@@ -17,9 +17,11 @@
class Pickle;
class PrefService;
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
struct PasswordForm;
}
+}
namespace base {
class WaitableEvent;
@@ -40,12 +42,12 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
virtual bool Init() OVERRIDE;
// Implements NativeBackend interface.
- virtual bool AddLogin(const webkit_glue::PasswordForm& form) OVERRIDE;
- virtual bool UpdateLogin(const webkit_glue::PasswordForm& form) OVERRIDE;
- virtual bool RemoveLogin(const webkit_glue::PasswordForm& form) OVERRIDE;
+ 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 RemoveLoginsCreatedBetween(
const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE;
- virtual bool GetLogins(const webkit_glue::PasswordForm& form,
+ virtual bool GetLogins(const webkit::forms::PasswordForm& form,
PasswordFormList* forms) OVERRIDE;
virtual bool GetLoginsCreatedBetween(const base::Time& get_begin,
const base::Time& get_end,
@@ -113,8 +115,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_glue::PasswordForm& a,
- const webkit_glue::PasswordForm& b,
+ static bool CompareForms(const webkit::forms::PasswordForm& a,
+ const webkit::forms::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