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

Unified Diff: ash/session/session_state_delegate.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | ash/session/session_state_observer.h » ('j') | ash/test/test_session_state_delegate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
index 5e73e58310c225049f33b2c449e0a91d053ea1ef..c7e1de432c2e0b7a5e7c925cb9c1c2f310924877 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -25,6 +25,7 @@ class ImageSkia;
namespace user_manager {
class UserInfo;
+class UserID;
} // namespace user_manager
namespace ash {
@@ -144,7 +145,7 @@ class ASH_EXPORT SessionStateDelegate {
// Switches to another active user with |user_id|
// (if that user has already signed in).
- virtual void SwitchActiveUser(const std::string& user_id) = 0;
+ virtual void SwitchActiveUser(const user_manager::UserID& user_id) = 0;
// Switches the active user to the next or previous user, with the same
// ordering as GetLoggedInUsers.
« no previous file with comments | « no previous file | ash/session/session_state_observer.h » ('j') | ash/test/test_session_state_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698