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

Unified Diff: chrome/browser/webdata/logins_table.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
« no previous file with comments | « chrome/browser/webdata/autofill_table_unittest.cc ('k') | chrome/browser/webdata/logins_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/logins_table.h
diff --git a/chrome/browser/webdata/logins_table.h b/chrome/browser/webdata/logins_table.h
index f5ff728bd815de0d7addbfe92860fe6821606c4e..f08d544d2f77b0dbc61005f328883d25570e903e 100644
--- a/chrome/browser/webdata/logins_table.h
+++ b/chrome/browser/webdata/logins_table.h
@@ -15,9 +15,11 @@ namespace base {
class Time;
}
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
struct PasswordForm;
}
+}
#if defined(OS_WIN)
struct IE7PasswordInfo;
@@ -55,7 +57,7 @@ class LoginsTable : public WebDatabaseTable {
virtual bool IsSyncable() OVERRIDE;
// Adds |form| to the list of remembered password forms.
- bool AddLogin(const webkit_glue::PasswordForm& form);
+ bool AddLogin(const webkit::forms::PasswordForm& form);
#if defined(OS_WIN)
// Adds |info| to the list of imported passwords from ie7/ie8.
@@ -69,10 +71,10 @@ class LoginsTable : public WebDatabaseTable {
#endif
// Updates remembered password form.
- bool UpdateLogin(const webkit_glue::PasswordForm& form);
+ bool UpdateLogin(const webkit::forms::PasswordForm& form);
// Removes |form| from the list of remembered password forms.
- bool RemoveLogin(const webkit_glue::PasswordForm& form);
+ bool RemoveLogin(const webkit::forms::PasswordForm& form);
// Removes all logins created from |delete_begin| onwards (inclusive) and
// before |delete_end|. You may use a null Time value to do an unbounded
@@ -83,14 +85,14 @@ class LoginsTable : public WebDatabaseTable {
// Loads a list of matching password forms into the specified vector |forms|.
// The list will contain all possibly relevant entries to the observed |form|,
// including blacklisted matches.
- bool GetLogins(const webkit_glue::PasswordForm& form,
- std::vector<webkit_glue::PasswordForm*>* forms);
+ bool GetLogins(const webkit::forms::PasswordForm& form,
+ std::vector<webkit::forms::PasswordForm*>* forms);
// Loads the complete list of password forms into the specified vector |forms|
// if include_blacklisted is true, otherwise only loads those which are
// actually autofill-able; i.e haven't been blacklisted by the user selecting
// the 'Never for this site' button.
- bool GetAllLogins(std::vector<webkit_glue::PasswordForm*>* forms,
+ bool GetAllLogins(std::vector<webkit::forms::PasswordForm*>* forms,
bool include_blacklisted);
private:
« no previous file with comments | « chrome/browser/webdata/autofill_table_unittest.cc ('k') | chrome/browser/webdata/logins_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698