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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_views.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
7 7
8 #include "ash/session/session_state_delegate.h" 8 #include "ash/session/session_state_delegate.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 17 matching lines...) Expand all
28 bool IsScreenLocked() const override; 28 bool IsScreenLocked() const override;
29 bool ShouldLockScreenBeforeSuspending() const override; 29 bool ShouldLockScreenBeforeSuspending() const override;
30 void LockScreen() override; 30 void LockScreen() override;
31 void UnlockScreen() override; 31 void UnlockScreen() override;
32 bool IsUserSessionBlocked() const override; 32 bool IsUserSessionBlocked() const override;
33 SessionState GetSessionState() const override; 33 SessionState GetSessionState() const override;
34 const user_manager::UserInfo* GetUserInfo( 34 const user_manager::UserInfo* GetUserInfo(
35 ash::UserIndex index) const override; 35 ash::UserIndex index) const override;
36 bool ShouldShowAvatar(aura::Window* window) const override; 36 bool ShouldShowAvatar(aura::Window* window) const override;
37 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override; 37 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override;
38 void SwitchActiveUser(const std::string& user_id) override; 38 void SwitchActiveUser(const AccountId& account_id) override;
39 void CycleActiveUser(CycleUser cycle_user) override; 39 void CycleActiveUser(CycleUser cycle_user) override;
40 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; 40 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override;
41 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; 41 void AddSessionStateObserver(ash::SessionStateObserver* observer) override;
42 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override; 42 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override;
43 43
44 private: 44 private:
45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate); 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ 48 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/session_state_delegate_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698