| Index: chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
|
| diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
|
| index 3677465b7627fe46f284e3e24b0b416d627dcc49..024adbfa2dae52eb6d952191d0a84290e44c117d 100644
|
| --- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
|
| +++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
|
| @@ -10,7 +10,10 @@
|
| #include <string>
|
|
|
| class Browser;
|
| -class Profile;
|
| +
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
|
|
| namespace aura {
|
| class Window;
|
| @@ -115,6 +118,11 @@ class MultiUserWindowManager {
|
| virtual bool IsWindowOnDesktopOfUser(aura::Window* window,
|
| const std::string& user_id) = 0;
|
|
|
| + // Whether or not the window's title should show the avatar. On chromeos,
|
| + // this is true when the owner of the window is different from the owner of
|
| + // the desktop.
|
| + virtual bool ShouldShowAvatar(aura::Window* window) = 0;
|
| +
|
| // Get the user on which the window is currently shown. If an empty string is
|
| // passed back the window will be presented for every user.
|
| virtual const std::string& GetUserPresentingWindow(aura::Window* window) = 0;
|
| @@ -124,7 +132,7 @@ class MultiUserWindowManager {
|
| // known to the manager. Note: This function is not implemented as a
|
| // SessionStateObserver to coordinate the timing of the addition with other
|
| // modules.
|
| - virtual void AddUser(Profile* profile) = 0;
|
| + virtual void AddUser(content::BrowserContext* profile) = 0;
|
|
|
| // Manages observers.
|
| virtual void AddObserver(Observer* observer) = 0;
|
|
|