Index: chrome/browser/password_manager/password_form_manager.h |
diff --git a/chrome/browser/password_manager/password_form_manager.h b/chrome/browser/password_manager/password_form_manager.h |
index f298af3f5a04201e793e696a6153e76cd101b7e2..f9d8b59ce6dbc89b59caee4229fa514d91612610 100644 |
--- a/chrome/browser/password_manager/password_form_manager.h |
+++ b/chrome/browser/password_manager/password_form_manager.h |
@@ -13,7 +13,7 @@ |
#include "base/stl_util.h" |
#include "chrome/browser/password_manager/password_store_consumer.h" |
-#include "webkit/glue/password_form.h" |
+#include "webkit/forms/password_form.h" |
class PasswordManager; |
class PasswordStore; |
@@ -31,12 +31,12 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// used to filter login results from database. |
PasswordFormManager(Profile* profile, |
PasswordManager* password_manager, |
- const webkit_glue::PasswordForm& observed_form, |
+ const webkit::forms::PasswordForm& observed_form, |
bool ssl_valid); |
virtual ~PasswordFormManager(); |
// Compare basic data of observed_form_ with argument. |
- bool DoesManage(const webkit_glue::PasswordForm& form) const; |
+ bool DoesManage(const webkit::forms::PasswordForm& form) const; |
// Retrieves potential matching logins from the database. |
void FetchMatchingLoginsFromPasswordStore(); |
@@ -69,12 +69,12 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Determines if we need to autofill given the results of the query. |
void OnRequestDone( |
- int handle, const std::vector<webkit_glue::PasswordForm*>& result); |
+ int handle, const std::vector<webkit::forms::PasswordForm*>& result); |
// PasswordStoreConsumer implementation. |
virtual void OnPasswordStoreRequestDone( |
CancelableRequestProvider::Handle handle, |
- const std::vector<webkit_glue::PasswordForm*>& result) OVERRIDE; |
+ const std::vector<webkit::forms::PasswordForm*>& result) OVERRIDE; |
// A user opted to 'never remember' passwords for this form. |
// Blacklist it so that from now on when it is seen we ignore it. |
@@ -83,7 +83,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// If the user has submitted observed_form_, provisionally hold on to |
// the submitted credentials until we are told by PasswordManager whether |
// or not the login was successful. |
- void ProvisionallySave(const webkit_glue::PasswordForm& credentials); |
+ void ProvisionallySave(const webkit::forms::PasswordForm& credentials); |
// Handles save-as-new or update of the form managed by this manager. |
// Note the basic data of updated_credentials must match that of |
@@ -140,7 +140,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Helper for OnPasswordStoreRequestDone to determine whether or not |
// the given result form is worth scoring. |
- bool IgnoreResult(const webkit_glue::PasswordForm& form) const; |
+ bool IgnoreResult(const webkit::forms::PasswordForm& form) const; |
// Helper for Save in the case that best_matches.size() == 0, meaning |
// we have no prior record of this form/username/password and the user |
@@ -150,7 +150,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Helper for OnPasswordStoreRequestDone to score an individual result |
// against the observed_form_. |
- int ScoreResult(const webkit_glue::PasswordForm& form) const; |
+ int ScoreResult(const webkit::forms::PasswordForm& form) const; |
// Helper for Save in the case that best_matches.size() > 0, meaning |
// we have at least one match for this form/username/password. This |
@@ -171,13 +171,13 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Set of PasswordForms from the DB that best match the form |
// being managed by this. Use a map instead of vector, because we most |
// frequently require lookups by username value in IsNewLogin. |
- webkit_glue::PasswordFormMap best_matches_; |
+ webkit::forms::PasswordFormMap best_matches_; |
// Cleans up when best_matches_ goes out of scope. |
- STLValueDeleter<webkit_glue::PasswordFormMap> best_matches_deleter_; |
+ STLValueDeleter<webkit::forms::PasswordFormMap> best_matches_deleter_; |
// The PasswordForm from the page or dialog managed by this. |
- webkit_glue::PasswordForm observed_form_; |
+ webkit::forms::PasswordForm observed_form_; |
// The origin url path of observed_form_ tokenized, for convenience when |
// scoring. |
@@ -185,7 +185,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// Stores updated credentials when the form was submitted but success is |
// still unknown. |
- webkit_glue::PasswordForm pending_credentials_; |
+ webkit::forms::PasswordForm pending_credentials_; |
// Whether pending_credentials_ stores a new login or is an update |
// to an existing one. |
@@ -201,7 +201,7 @@ class PasswordFormManager : public PasswordStoreConsumer { |
// as preferred. This is only allowed to be null if there are no best matches |
// at all, since there will always be one preferred login when there are |
// multiple matches (when first saved, a login is marked preferred). |
- const webkit_glue::PasswordForm* preferred_match_; |
+ const webkit::forms::PasswordForm* preferred_match_; |
typedef enum { |
PRE_MATCHING_PHASE, // Have not yet invoked a GetLogins query to find |