| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/desktop_background/desktop_background_resources.h" | 10 #include "ash/desktop_background/desktop_background_resources.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // Called when the local state preferences is changed | 33 // Called when the local state preferences is changed |
| 34 virtual void LocalStateChanged(UserManager* user_manager) = 0; | 34 virtual void LocalStateChanged(UserManager* user_manager) = 0; |
| 35 | 35 |
| 36 protected: | 36 protected: |
| 37 virtual ~Observer() {} | 37 virtual ~Observer() {} |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 // A vector pref of the users who have logged into the device. | 40 // A vector pref of the users who have logged into the device. |
| 41 static const char kLoggedInUsers[]; | 41 static const char kLoggedInUsers[]; |
| 42 | 42 |
| 43 // Username for stub login when not running on ChromeOS. |
| 44 static const char kStubUser[]; |
| 45 |
| 43 // A dictionary that maps usernames to file paths to their wallpapers. | 46 // A dictionary that maps usernames to file paths to their wallpapers. |
| 44 // Deprecated. Will remove this const char after done migration. | 47 // Deprecated. Will remove this const char after done migration. |
| 45 static const char kUserWallpapers[]; | 48 static const char kUserWallpapers[]; |
| 46 | 49 |
| 47 // A dictionary that maps usernames to wallpaper properties. | 50 // A dictionary that maps usernames to wallpaper properties. |
| 48 static const char kUserWallpapersProperties[]; | 51 static const char kUserWallpapersProperties[]; |
| 49 | 52 |
| 50 // A dictionary that maps usernames to file paths to their images. | 53 // A dictionary that maps usernames to file paths to their images. |
| 51 static const char kUserImages[]; | 54 static const char kUserImages[]; |
| 52 | 55 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 virtual void NotifyLocalStateChanged() = 0; | 258 virtual void NotifyLocalStateChanged() = 0; |
| 256 | 259 |
| 257 // Returns the result of the last successful profile image download, if any. | 260 // Returns the result of the last successful profile image download, if any. |
| 258 // Otherwise, returns an empty bitmap. | 261 // Otherwise, returns an empty bitmap. |
| 259 virtual const SkBitmap& DownloadedProfileImage() const = 0; | 262 virtual const SkBitmap& DownloadedProfileImage() const = 0; |
| 260 }; | 263 }; |
| 261 | 264 |
| 262 } // namespace chromeos | 265 } // namespace chromeos |
| 263 | 266 |
| 264 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ | 267 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ |
| OLD | NEW |