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

Unified Diff: chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Removed unused #includes 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/login/lock/screen_locker_browsertest.cc
diff --git a/chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc b/chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc
index 453939f4fbc82e6fffc1f8ddd79928063981f8bf..549d509d4f9b1964c2311007ed14a4237d0565af 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc
+++ b/chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc
@@ -27,7 +27,7 @@
#include "chromeos/login/auth/key.h"
#include "chromeos/login/auth/stub_authenticator.h"
#include "chromeos/login/auth/user_context.h"
-#include "chromeos/login/user_names.h"
+#include "components/user_manager/user_names.h"
#include "content/public/browser/notification_service.h"
#include "content/public/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -158,7 +158,7 @@ IN_PROC_BROWSER_TEST_F(ScreenLockerTest, TestBasic) {
EXPECT_GT(lock_bounds.width(), 10);
EXPECT_GT(lock_bounds.height(), 10);
- UserContext user_context(login::StubAccountId());
+ UserContext user_context(user_manager::StubAccountId());
user_context.SetKey(Key("pass"));
tester->InjectStubUserContext(user_context);
EXPECT_TRUE(tester->IsLocked());
@@ -215,7 +215,7 @@ IN_PROC_BROWSER_TEST_F(ScreenLockerTest, TestFullscreenExit) {
EXPECT_FALSE(window_state->hide_shelf_when_fullscreen());
EXPECT_TRUE(tester->IsLocked());
}
- UserContext user_context(login::StubAccountId());
+ UserContext user_context(user_manager::StubAccountId());
user_context.SetKey(Key("pass"));
tester->InjectStubUserContext(user_context);
tester->EnterPassword("pass");

Powered by Google App Engine
This is Rietveld 408576698