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

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

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void UserLoggedIn(const std::string& email) = 0; 87 virtual void UserLoggedIn(const std::string& email) = 0;
88 88
89 // Indicates that user just logged on as the demo user. 89 // Indicates that user just logged on as the demo user.
90 virtual void DemoUserLoggedIn() = 0; 90 virtual void DemoUserLoggedIn() = 0;
91 91
92 // Indicates that user just started incognito session. 92 // Indicates that user just started incognito session.
93 virtual void GuestUserLoggedIn() = 0; 93 virtual void GuestUserLoggedIn() = 0;
94 94
95 // Indicates that a user just logged in as ephemeral. 95 // Indicates that a user just logged in as ephemeral.
96 virtual void EphemeralUserLoggedIn(const std::string& email) = 0; 96 virtual void EphemeralUserLoggedIn(const std::string& email) = 0;
97 97
Nikita (slow) 2012/04/25 16:47:48 nit: add comment.
bshe 2012/04/25 23:54:43 Done.
98 virtual void UserSelected(const std::string& email) = 0;
99
98 // Removes the user from the device. Note, it will verify that the given user 100 // Removes the user from the device. Note, it will verify that the given user
99 // isn't the owner, so calling this method for the owner will take no effect. 101 // isn't the owner, so calling this method for the owner will take no effect.
100 // Note, |delegate| can be NULL. 102 // Note, |delegate| can be NULL.
101 virtual void RemoveUser(const std::string& email, 103 virtual void RemoveUser(const std::string& email,
102 RemoveUserDelegate* delegate) = 0; 104 RemoveUserDelegate* delegate) = 0;
103 105
104 // Removes the user from the persistent list only. Also removes the user's 106 // Removes the user from the persistent list only. Also removes the user's
105 // picture. 107 // picture.
106 virtual void RemoveUserFromList(const std::string& email) = 0; 108 virtual void RemoveUserFromList(const std::string& email) = 0;
107 109
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 virtual void NotifyLocalStateChanged() = 0; 206 virtual void NotifyLocalStateChanged() = 0;
205 207
206 // Returns the result of the last successful profile image download, if any. 208 // Returns the result of the last successful profile image download, if any.
207 // Otherwise, returns an empty bitmap. 209 // Otherwise, returns an empty bitmap.
208 virtual const SkBitmap& DownloadedProfileImage() const = 0; 210 virtual const SkBitmap& DownloadedProfileImage() const = 0;
209 }; 211 };
210 212
211 } // namespace chromeos 213 } // namespace chromeos
212 214
213 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 215 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698