| Index: chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
|
| index 9acf39184ed90bc0fb35a6265dfaf9abe830dfe9..cf9eeb764eb037f52f61940770e677962809f9e1 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
|
| @@ -116,6 +116,16 @@ class ManagePasswordsBubbleModelTest : public ::testing::Test {
|
| password_manager::BuildPasswordStore<
|
| content::BrowserContext,
|
| testing::StrictMock<password_manager::MockPasswordStore>>);
|
| +#if !defined(OS_MACOSX)
|
| + // TODO(crbug.com/668155): Remove conditional compilation when
|
| + // PasswordReuseDetector initialization will be implemented for Mac.
|
| + // The call of FillAutofillableLogins is caused by a posted task for an
|
| + // initialization of PasswordReuseDetector in the call of
|
| + // BuildPasswordStore() in the previous code. There is no thread race since
|
| + // unit tests run in one thread, and any post task will be executed after
|
| + // finishing the current function.
|
| + EXPECT_CALL(*GetStore(), FillAutofillableLogins(_));
|
| +#endif
|
| }
|
|
|
| void TearDown() override {
|
|
|