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

Unified Diff: chrome/browser/importer/ie_importer_browsertest_win.cc

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 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/importer/ie_importer_browsertest_win.cc
diff --git a/chrome/browser/importer/ie_importer_browsertest_win.cc b/chrome/browser/importer/ie_importer_browsertest_win.cc
index 50639661ba6903bb36e818c0c37c2d90bf079613..8c4d01c6943e57be7c3a3094d92fd440bd64aa83 100644
--- a/chrome/browser/importer/ie_importer_browsertest_win.cc
+++ b/chrome/browser/importer/ie_importer_browsertest_win.cc
@@ -43,8 +43,8 @@
#include "chrome/common/importer/pstore_declarations.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/testing_profile.h"
+#include "components/autofill/core/common/password_form.h"
#include "components/webdata/encryptor/ie7_password.h"
-#include "content/public/common/password_form.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -302,7 +302,7 @@ class TestObserver : public ProfileWriter,
return true;
}
- virtual void AddPasswordForm(const content::PasswordForm& form) {
+ virtual void AddPasswordForm(const autofill::PasswordForm& form) {
// Importer should obtain this password form only.
EXPECT_EQ(GURL("http://localhost:8080/security/index.htm"), form.origin);
EXPECT_EQ("http://localhost:8080/", form.signon_realm);
@@ -419,7 +419,7 @@ class MalformedFavoritesRegistryTestObserver
virtual bool BookmarkModelIsLoaded() const { return true; }
virtual bool TemplateURLServiceIsLoaded() const { return true; }
- virtual void AddPasswordForm(const content::PasswordForm& form) {}
+ virtual void AddPasswordForm(const autofill::PasswordForm& form) {}
virtual void AddHistoryPage(const history::URLRows& page,
history::VisitSource visit_source) {}
virtual void AddKeyword(std::vector<TemplateURL*> template_url,
« no previous file with comments | « chrome/browser/importer/firefox_importer_browsertest.cc ('k') | chrome/browser/importer/in_process_importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698