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

Side by Side Diff: chrome/browser/chromeos/login/user_manager.h

Issue 10590004: [cros] Fake a stub user login when no --login-manager and --login-user are given. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils_browsertest.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698