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

Unified Diff: ash/session/session_state_delegate.h

Issue 1428213004: This CL replaces std::string user_id in ash/* with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 1 month 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') | no next file with comments »
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 ef88a244cc4dc74d52d6244a28870021a386b597..8768f73e610b1010dce305529ab4d5cebd52d70c 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -10,6 +10,8 @@
#include "ash/ash_export.h"
#include "ash/session/session_types.h"
+class AccountId;
+
namespace aura {
class Window;
}
@@ -113,9 +115,9 @@ class ASH_EXPORT SessionStateDelegate {
virtual gfx::ImageSkia GetAvatarImageForWindow(
aura::Window* window) const = 0;
- // Switches to another active user with |user_id|
+ // Switches to another active user with |account_id|
// (if that user has already signed in).
- virtual void SwitchActiveUser(const std::string& user_id) = 0;
+ virtual void SwitchActiveUser(const AccountId& account_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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698