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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service_unittest.cc

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Update after review. Created 4 years, 2 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/chromeos/arc/arc_auth_service_unittest.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc b/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
index 2a41394981e6a10d357c0220eb7d0add9e63e238..19d5fd67b21ef7abe83959dc41bd55159e4bbe29 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
@@ -26,7 +26,6 @@
#include "chrome/test/base/testing_profile.h"
#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/dbus_thread_manager.h"
-#include "chromeos/login/user_names.h"
#include "components/arc/arc_bridge_service.h"
#include "components/arc/test/fake_arc_bridge_service.h"
#include "components/prefs/pref_service.h"
@@ -35,6 +34,7 @@
#include "components/sync/model/sync_error_factory_mock.h"
#include "components/syncable_prefs/testing_pref_service_syncable.h"
#include "components/user_manager/user_manager.h"
+#include "components/user_manager/user_names.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "google_apis/gaia/gaia_constants.h"
@@ -154,8 +154,8 @@ TEST_F(ArcAuthServiceTest, DisabledForEphemeralDataUsers) {
auth_service()->OnPrimaryUserProfilePrepared(profile());
ASSERT_EQ(ArcAuthService::State::NOT_INITIALIZED, auth_service()->state());
- fake_user_manager->AddUser(chromeos::login::DemoAccountId());
- fake_user_manager->SwitchActiveUser(chromeos::login::DemoAccountId());
+ fake_user_manager->AddUser(user_manager::DemoAccountId());
+ fake_user_manager->SwitchActiveUser(user_manager::DemoAccountId());
auth_service()->Shutdown();
auth_service()->OnPrimaryUserProfilePrepared(profile());
ASSERT_EQ(ArcAuthService::State::NOT_INITIALIZED, auth_service()->state());

Powered by Google App Engine
This is Rietveld 408576698