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

Unified Diff: chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm

Issue 2040143006: Implement the Sync promo in the password bubble on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 6 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/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm
index 79f3d93b0691425a12a63afcb63f6ebc0d1f61a9..0ea67d61c269c60611a98dcd17a99bac800370a2 100644
--- a/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/passwords/passwords_list_view_controller_unittest.mm
@@ -33,19 +33,10 @@ NSString* const kFederation = @"https://google.com/idp";
class PasswordsListViewControllerTest : public ManagePasswordsControllerTest {
public:
- PasswordsListViewControllerTest() {}
-
- void SetUp() override {
- ManagePasswordsControllerTest::SetUp();
- PasswordStoreFactory::GetInstance()->SetTestingFactory(
- profile(),
- password_manager::BuildPasswordStore<
- content::BrowserContext, password_manager::MockPasswordStore>);
- }
+ PasswordsListViewControllerTest() = default;
- void SetUpManageState(
- const std::vector<const autofill::PasswordForm*>& forms) {
- ManagePasswordsControllerTest::SetUpManageState();
+ void SetUpManageState(const VectorConstFormPtr& forms) {
+ ManagePasswordsControllerTest::SetUpManageState(forms);
controller_.reset([[PasswordsListViewController alloc]
initWithModel:GetModelAndCreateIfNull()
forms:forms]);

Powered by Google App Engine
This is Rietveld 408576698