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

Unified Diff: chrome/browser/sync/sync_error_notifier_ash_unittest.cc

Issue 1962463002: Revert of GetAccountIdFromProfile() should not return an empty account id if a valid profile is provided. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/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 601ac5e8b50fa638bd258aa67a8e630c7b8e5cac..da5a6837b773c9a48ade695df6777b37900f57fb 100644
--- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
+++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
@@ -34,11 +34,6 @@
#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;
@@ -189,10 +184,6 @@
#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_)));

Powered by Google App Engine
This is Rietveld 408576698