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

Unified Diff: chrome/browser/ui/ash/session_state_delegate_chromeos.cc

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
Index: chrome/browser/ui/ash/session_state_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/session_state_delegate_chromeos.cc b/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
index c974a8770d7ee28f51f1f1859be62aba4816329b..5398f749035ed82b0878475ab011146a8c78dd65 100644
--- a/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
@@ -143,8 +143,9 @@ void SessionStateDelegateChromeos::SwitchActiveUser(
SessionControllerClient::DoSwitchActiveUser(account_id);
}
-void SessionStateDelegateChromeos::CycleActiveUser(CycleUser cycle_user) {
- SessionControllerClient::DoCycleActiveUser(cycle_user == CYCLE_TO_NEXT_USER);
+void SessionStateDelegateChromeos::CycleActiveUser(
+ ash::CycleUserDirection direction) {
+ SessionControllerClient::DoCycleActiveUser(direction);
}
bool SessionStateDelegateChromeos::IsMultiProfileAllowedByPrimaryUserPolicy()

Powered by Google App Engine
This is Rietveld 408576698