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

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: Further test fixes. Created 8 years, 6 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 virtual void NotifyLocalStateChanged() = 0; 256 virtual void NotifyLocalStateChanged() = 0;
254 257
255 // Returns the result of the last successful profile image download, if any. 258 // Returns the result of the last successful profile image download, if any.
256 // Otherwise, returns an empty bitmap. 259 // Otherwise, returns an empty bitmap.
257 virtual const SkBitmap& DownloadedProfileImage() const = 0; 260 virtual const SkBitmap& DownloadedProfileImage() const = 0;
258 }; 261 };
259 262
260 } // namespace chromeos 263 } // namespace chromeos
261 264
262 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 265 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698