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

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

Issue 8976012: chromeos: Implement power button animations for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use aura::RootWindow::ShowCursor() to hide cursor Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 20 matching lines...) Expand all
31 31
32 namespace chromeos { 32 namespace chromeos {
33 33
34 class RemoveUserDelegate; 34 class RemoveUserDelegate;
35 35
36 // This class provides a mechanism for discovering users who have logged 36 // This class provides a mechanism for discovering users who have logged
37 // into this chromium os device before and updating that list. 37 // into this chromium os device before and updating that list.
38 class UserManager : public ProfileDownloaderDelegate, 38 class UserManager : public ProfileDownloaderDelegate,
39 public content::NotificationObserver { 39 public content::NotificationObserver {
40 public: 40 public:
41 // Email address assigned to the guest/incognito user.
42 static const char kGuestUser[];
43
41 // Returns a shared instance of a UserManager. Not thread-safe, should only be 44 // Returns a shared instance of a UserManager. Not thread-safe, should only be
42 // called from the main UI thread. 45 // called from the main UI thread.
43 static UserManager* Get(); 46 static UserManager* Get();
44 47
45 // Registers user manager preferences. 48 // Registers user manager preferences.
46 static void RegisterPrefs(PrefService* local_state); 49 static void RegisterPrefs(PrefService* local_state);
47 50
48 // Returns a list of the users who have logged into this device previously. 51 // Returns a list of the users who have logged into this device previously.
49 // It is sorted in order of recency, with most recent at the beginning. 52 // It is sorted in order of recency, with most recent at the beginning.
50 const UserList& GetUsers() const; 53 const UserList& GetUsers() const;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 300
298 // Data URL for |downloaded_profile_image_|. 301 // Data URL for |downloaded_profile_image_|.
299 std::string downloaded_profile_image_data_url_; 302 std::string downloaded_profile_image_data_url_;
300 303
301 DISALLOW_COPY_AND_ASSIGN(UserManager); 304 DISALLOW_COPY_AND_ASSIGN(UserManager);
302 }; 305 };
303 306
304 } // namespace chromeos 307 } // namespace chromeos
305 308
306 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 309 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698