| Index: chrome/browser/sync/sync_error_notifier_ash_unittest.cc
|
| diff --git a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
|
| index da5a6837b773c9a48ade695df6777b37900f57fb..601ac5e8b50fa638bd258aa67a8e630c7b8e5cac 100644
|
| --- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
|
| +++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
|
| @@ -34,6 +34,11 @@
|
| #include "ui/display/screen.h"
|
| #endif
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "chrome/browser/chromeos/login/users/mock_user_manager.h"
|
| +#include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
|
| +#endif
|
| +
|
| using ::testing::NiceMock;
|
| using ::testing::Return;
|
| using ::testing::ReturnRef;
|
| @@ -184,6 +189,10 @@ class SyncErrorNotifierTest : public AshTestBase {
|
| #define MAYBE_PassphraseNotification PassphraseNotification
|
| #endif
|
| TEST_F(SyncErrorNotifierTest, MAYBE_PassphraseNotification) {
|
| +#if defined(OS_CHROMEOS)
|
| + chromeos::ScopedUserManagerEnabler scoped_enabler(
|
| + new chromeos::MockUserManager());
|
| +#endif
|
| ASSERT_FALSE(notification_ui_manager_->FindById(
|
| kNotificationId, NotificationUIManager::GetProfileID(profile_)));
|
|
|
|
|