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

Unified Diff: chrome/browser/chromeos/system/tray_accessibility_browsertest.cc

Issue 444903002: [cros] user_manager component - move UserManagerBase and UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/system/tray_accessibility_browsertest.cc
diff --git a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
index c84338b4133f895858ca245b3db48691f94d8b70..b097f4f9d49ac29b7d63f0ba1819fe48d7f4cfc6 100644
--- a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
+++ b/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
@@ -20,7 +20,6 @@
#include "chrome/browser/chromeos/login/helper.h"
#include "chrome/browser/chromeos/login/login_utils.h"
#include "chrome/browser/chromeos/login/startup_utils.h"
-#include "chrome/browser/chromeos/login/users/user_manager.h"
#include "chrome/browser/extensions/api/braille_display_private/mock_braille_controller.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -34,6 +33,7 @@
#include "components/policy/core/common/mock_configuration_policy_provider.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
+#include "components/user_manager/user_manager.h"
#include "content/public/test/test_utils.h"
#include "policy/policy_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -271,9 +271,9 @@ class TrayAccessibilityTest
IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, LoginStatus) {
EXPECT_EQ(ash::user::LOGGED_IN_NONE, GetLoginStatus());
- UserManager::Get()->UserLoggedIn(
+ user_manager::UserManager::Get()->UserLoggedIn(
"owner@invalid.domain", "owner@invalid.domain", true);
- UserManager::Get()->SessionStarted();
+ user_manager::UserManager::Get()->SessionStarted();
EXPECT_EQ(ash::user::LOGGED_IN_USER, GetLoginStatus());
}
@@ -285,9 +285,9 @@ IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, DISABLED_ShowTrayIcon) {
// Confirms that the icon is invisible before login.
EXPECT_FALSE(IsTrayIconVisible());
- UserManager::Get()->UserLoggedIn(
+ user_manager::UserManager::Get()->UserLoggedIn(
"owner@invalid.domain", "owner@invalid.domain", true);
- UserManager::Get()->SessionStarted();
+ user_manager::UserManager::Get()->SessionStarted();
// Confirms that the icon is invisible just after login.
EXPECT_FALSE(IsTrayIconVisible());
@@ -351,9 +351,9 @@ IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, DISABLED_ShowTrayIcon) {
// http://crbug.com/396342
IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, DISABLED_ShowMenu) {
// Login
- UserManager::Get()->UserLoggedIn(
+ user_manager::UserManager::Get()->UserLoggedIn(
"owner@invalid.domain", "owner@invalid.domain", true);
- UserManager::Get()->SessionStarted();
+ user_manager::UserManager::Get()->SessionStarted();
SetShowAccessibilityOptionsInSystemTrayMenu(false);
@@ -421,9 +421,9 @@ IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest, DISABLED_ShowMenu) {
IN_PROC_BROWSER_TEST_P(TrayAccessibilityTest,
DISABLED_ShowMenuWithShowMenuOption) {
// Login
- UserManager::Get()->UserLoggedIn(
+ user_manager::UserManager::Get()->UserLoggedIn(
"owner@invalid.domain", "owner@invalid.domain", true);
- UserManager::Get()->SessionStarted();
+ user_manager::UserManager::Get()->SessionStarted();
SetShowAccessibilityOptionsInSystemTrayMenu(true);

Powered by Google App Engine
This is Rietveld 408576698