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

Unified Diff: components/user_manager/fake_user_manager.h

Issue 2885933003: arc: Consolidate IsArcAllowedForUser logic (Closed)
Patch Set: add comment for arc kiosk user check Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/arc_util_unittest.cc ('k') | components/user_manager/fake_user_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/fake_user_manager.h
diff --git a/components/user_manager/fake_user_manager.h b/components/user_manager/fake_user_manager.h
index 221dc42d71a7b472681f737642e4f682d76ceab9..c2064f4927fb9f33006dae7da5275c48fa484e1e 100644
--- a/components/user_manager/fake_user_manager.h
+++ b/components/user_manager/fake_user_manager.h
@@ -32,13 +32,9 @@ class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase {
const AccountId& account_id,
bool is_affiliated);
- // Calculates the user name hash and calls UserLoggedIn to login a user.
- void LoginUser(const AccountId& account_id);
-
// UserManager overrides.
const user_manager::UserList& GetUsers() const override;
user_manager::UserList GetUsersAllowedForMultiProfile() const override;
- const user_manager::UserList& GetLoggedInUsers() const override;
// Set the user as logged in.
void UserLoggedIn(const AccountId& account_id,
@@ -119,6 +115,7 @@ class USER_MANAGER_EXPORT FakeUserManager : public UserManagerBase {
// UserManagerBase overrides:
bool AreEphemeralUsersEnabled() const override;
+ void SetEphemeralUsersEnabled(bool enabled) override;
const std::string& GetApplicationLocale() const override;
PrefService* GetLocalState() const override;
void HandleUserOAuthTokenStatusChange(
« no previous file with comments | « components/arc/arc_util_unittest.cc ('k') | components/user_manager/fake_user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698