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

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

Issue 9703022: Set valid profile image when logging in as demo user (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Indicates that a user with the given email has just logged in. The 65 // Indicates that a user with the given email has just logged in. The
66 // persistent list is updated accordingly if the user is not ephemeral. 66 // persistent list is updated accordingly if the user is not ephemeral.
67 virtual void UserLoggedIn(const std::string& email) = 0; 67 virtual void UserLoggedIn(const std::string& email) = 0;
68 68
69 // Indicates that user just logged on as the demo user. 69 // Indicates that user just logged on as the demo user.
70 virtual void DemoUserLoggedIn() = 0; 70 virtual void DemoUserLoggedIn() = 0;
71 71
72 // Indicates that user just started incognito session. 72 // Indicates that user just started incognito session.
73 virtual void GuestUserLoggedIn() = 0; 73 virtual void GuestUserLoggedIn() = 0;
74 74
75 // Indicates that a user just logged in as ephemeral.
76 virtual void EphemeralUserLoggedIn(const std::string& email) = 0;
77
75 // Removes the user from the device. Note, it will verify that the given user 78 // Removes the user from the device. Note, it will verify that the given user
76 // isn't the owner, so calling this method for the owner will take no effect. 79 // isn't the owner, so calling this method for the owner will take no effect.
77 // Note, |delegate| can be NULL. 80 // Note, |delegate| can be NULL.
78 virtual void RemoveUser(const std::string& email, 81 virtual void RemoveUser(const std::string& email,
79 RemoveUserDelegate* delegate) = 0; 82 RemoveUserDelegate* delegate) = 0;
80 83
81 // Removes the user from the persistent list only. Also removes the user's 84 // Removes the user from the persistent list only. Also removes the user's
82 // picture. 85 // picture.
83 virtual void RemoveUserFromList(const std::string& email) = 0; 86 virtual void RemoveUserFromList(const std::string& email) = 0;
84 87
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 virtual void NotifyLocalStateChanged() = 0; 169 virtual void NotifyLocalStateChanged() = 0;
167 170
168 // Returns the result of the last successful profile image download, if any. 171 // Returns the result of the last successful profile image download, if any.
169 // Otherwise, returns an empty bitmap. 172 // Otherwise, returns an empty bitmap.
170 virtual const SkBitmap& DownloadedProfileImage() const = 0; 173 virtual const SkBitmap& DownloadedProfileImage() const = 0;
171 }; 174 };
172 175
173 } // namespace chromeos 176 } // namespace chromeos
174 177
175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 178 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698