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

Unified Diff: ash/common/session/session_controller.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
« no previous file with comments | « ash/common/session/session_controller.h ('k') | ash/common/session/session_state_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/session/session_controller.cc
diff --git a/ash/common/session/session_controller.cc b/ash/common/session/session_controller.cc
index d108b3349aed0a1996ef0d15aa674b5393c33848..cafed50edd36116302adf2756c53cc40af0bdafb 100644
--- a/ash/common/session/session_controller.cc
+++ b/ash/common/session/session_controller.cc
@@ -73,9 +73,9 @@ void SessionController::SwitchActiveUser(const AccountId& account_id) {
client_->SwitchActiveUser(account_id);
}
-void SessionController::CycleActiveUser(bool next_user) {
+void SessionController::CycleActiveUser(CycleUserDirection direction) {
if (client_)
- client_->CycleActiveUser(next_user);
+ client_->CycleActiveUser(direction);
}
void SessionController::AddSessionStateObserver(
« no previous file with comments | « ash/common/session/session_controller.h ('k') | ash/common/session/session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698