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

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

Issue 2724163002: ash: Use enum for SessionController::CycleActiveUser (Closed)
Patch Set: 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
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..96d49616096b4f157626e626ec7be36490b013a9 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::CycleUser cycle_uer) 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::CycleUser cycle_user);
// Flushes the mojo pipe to ash.
static void FlushForTesting();

Powered by Google App Engine
This is Rietveld 408576698