| Index: chrome/browser/password_manager/password_form_data.h
|
| diff --git a/chrome/browser/password_manager/password_form_data.h b/chrome/browser/password_manager/password_form_data.h
|
| index 35be0dea575d13c457ebef6d3558037ffb9ff9a7..0bc512f1cc9e4623813b2661b5821d2887b8f7a4 100644
|
| --- a/chrome/browser/password_manager/password_form_data.h
|
| +++ b/chrome/browser/password_manager/password_form_data.h
|
| @@ -7,13 +7,13 @@
|
|
|
| #include <ostream>
|
|
|
| +#include "content/public/common/password_form.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| -#include "webkit/forms/password_form.h"
|
|
|
| // Struct used for creation of PasswordForms from static arrays of data.
|
| // Note: This is only meant to be used in unit test.
|
| struct PasswordFormData {
|
| - const webkit::forms::PasswordForm::Scheme scheme;
|
| + const content::PasswordForm::Scheme scheme;
|
| const char* signon_realm;
|
| const char* origin;
|
| const char* action;
|
| @@ -29,23 +29,23 @@ struct PasswordFormData {
|
|
|
| // Creates and returns a new PasswordForm built from form_data. Caller is
|
| // responsible for deleting the object when finished with it.
|
| -webkit::forms::PasswordForm* CreatePasswordFormFromData(
|
| +content::PasswordForm* CreatePasswordFormFromData(
|
| const PasswordFormData& form_data);
|
|
|
| // Checks whether two vectors of PasswordForms contain equivalent elements,
|
| // regardless of order.
|
| bool ContainsSamePasswordFormsPtr(
|
| - const std::vector<webkit::forms::PasswordForm*>& first,
|
| - const std::vector<webkit::forms::PasswordForm*>& second);
|
| + const std::vector<content::PasswordForm*>& first,
|
| + const std::vector<content::PasswordForm*>& second);
|
|
|
| bool ContainsSamePasswordForms(
|
| - std::vector<webkit::forms::PasswordForm>& first,
|
| - std::vector<webkit::forms::PasswordForm>& second);
|
| + std::vector<content::PasswordForm>& first,
|
| + std::vector<content::PasswordForm>& second);
|
|
|
| // Pretty-prints the contents of a PasswordForm.
|
| // TODO(sync): This file must eventually be refactored away -- crbug.com/87185.
|
| std::ostream& operator<<(std::ostream& os,
|
| - const webkit::forms::PasswordForm& form);
|
| + const content::PasswordForm& form);
|
|
|
| // This gmock matcher is used to check that the |arg| contains exactly the same
|
| // PasswordForms as |forms|, regardless of order.
|
|
|