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

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: Address review 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
98 // Called when user pod with |email| is selected.
99 virtual void UserSelected(const std::string& email) = 0;
100
98 // Removes the user from the device. Note, it will verify that the given user 101 // 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. 102 // isn't the owner, so calling this method for the owner will take no effect.
100 // Note, |delegate| can be NULL. 103 // Note, |delegate| can be NULL.
101 virtual void RemoveUser(const std::string& email, 104 virtual void RemoveUser(const std::string& email,
102 RemoveUserDelegate* delegate) = 0; 105 RemoveUserDelegate* delegate) = 0;
103 106
104 // Removes the user from the persistent list only. Also removes the user's 107 // Removes the user from the persistent list only. Also removes the user's
105 // picture. 108 // picture.
106 virtual void RemoveUserFromList(const std::string& email) = 0; 109 virtual void RemoveUserFromList(const std::string& email) = 0;
107 110
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 virtual void NotifyLocalStateChanged() = 0; 207 virtual void NotifyLocalStateChanged() = 0;
205 208
206 // Returns the result of the last successful profile image download, if any. 209 // Returns the result of the last successful profile image download, if any.
207 // Otherwise, returns an empty bitmap. 210 // Otherwise, returns an empty bitmap.
208 virtual const SkBitmap& DownloadedProfileImage() const = 0; 211 virtual const SkBitmap& DownloadedProfileImage() const = 0;
209 }; 212 };
210 213
211 } // namespace chromeos 214 } // namespace chromeos
212 215
213 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 216 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698