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

Unified Diff: chrome/browser/ui/ash/session_controller_client.h

Issue 2724163002: ash: Use enum for SessionController::CycleActiveUser (Closed)
Patch Set: fix ash_shell_with_content compile Created 3 years, 10 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | chrome/browser/ui/ash/session_controller_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/session_controller_client.h
diff --git a/chrome/browser/ui/ash/session_controller_client.h b/chrome/browser/ui/ash/session_controller_client.h
index a5dff9c8a6543c584ee65a0ea1df3a2119d448a7..97ae4e2282de65291761df153a36e848a2909a30 100644
--- a/chrome/browser/ui/ash/session_controller_client.h
+++ b/chrome/browser/ui/ash/session_controller_client.h
@@ -34,7 +34,7 @@ class SessionControllerClient
// ash::mojom::SessionControllerClient:
void RequestLockScreen() override;
void SwitchActiveUser(const AccountId& account_id) override;
- void CycleActiveUser(bool next_user) override;
+ void CycleActiveUser(ash::CycleUserDirection direction) override;
// user_manager::UserManager::UserSessionStateObserver:
void ActiveUserChanged(const user_manager::User* active_user) override;
@@ -52,7 +52,7 @@ class SessionControllerClient
static ash::AddUserSessionPolicy GetAddUserSessionPolicy();
static void DoLockScreen();
static void DoSwitchActiveUser(const AccountId& account_id);
- static void DoCycleActiveUser(bool next_user);
+ static void DoCycleActiveUser(ash::CycleUserDirection direction);
// Flushes the mojo pipe to ash.
static void FlushForTesting();
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | chrome/browser/ui/ash/session_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698