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

Side by Side Diff: components/user_manager/fake_user_manager.h

Issue 2421323002: Created new account type for ARC++ kiosk. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « chromeos/login/login_state.h ('k') | components/user_manager/fake_user_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 5 #ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool IsCurrentUserOwner() const override; 86 bool IsCurrentUserOwner() const override;
87 bool IsCurrentUserNew() const override; 87 bool IsCurrentUserNew() const override;
88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override; 88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override;
89 bool CanCurrentUserLock() const override; 89 bool CanCurrentUserLock() const override;
90 bool IsUserLoggedIn() const override; 90 bool IsUserLoggedIn() const override;
91 bool IsLoggedInAsUserWithGaiaAccount() const override; 91 bool IsLoggedInAsUserWithGaiaAccount() const override;
92 bool IsLoggedInAsPublicAccount() const override; 92 bool IsLoggedInAsPublicAccount() const override;
93 bool IsLoggedInAsGuest() const override; 93 bool IsLoggedInAsGuest() const override;
94 bool IsLoggedInAsSupervisedUser() const override; 94 bool IsLoggedInAsSupervisedUser() const override;
95 bool IsLoggedInAsKioskApp() const override; 95 bool IsLoggedInAsKioskApp() const override;
96 bool IsLoggedInAsArcKioskApp() const override;
96 bool IsLoggedInAsStub() const override; 97 bool IsLoggedInAsStub() const override;
97 bool IsSessionStarted() const override; 98 bool IsSessionStarted() const override;
98 bool IsUserNonCryptohomeDataEphemeral( 99 bool IsUserNonCryptohomeDataEphemeral(
99 const AccountId& account_id) const override; 100 const AccountId& account_id) const override;
100 void AddObserver(Observer* obs) override {} 101 void AddObserver(Observer* obs) override {}
101 void RemoveObserver(Observer* obs) override {} 102 void RemoveObserver(Observer* obs) override {}
102 void AddSessionStateObserver(UserSessionStateObserver* obs) override {} 103 void AddSessionStateObserver(UserSessionStateObserver* obs) override {}
103 void RemoveSessionStateObserver(UserSessionStateObserver* obs) override {} 104 void RemoveSessionStateObserver(UserSessionStateObserver* obs) override {}
104 void NotifyLocalStateChanged() override {} 105 void NotifyLocalStateChanged() override {}
105 bool AreSupervisedUsersAllowed() const override; 106 bool AreSupervisedUsersAllowed() const override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 157
157 // stub. Always empty. 158 // stub. Always empty.
158 gfx::ImageSkia empty_image_; 159 gfx::ImageSkia empty_image_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 161 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
161 }; 162 };
162 163
163 } // namespace user_manager 164 } // namespace user_manager
164 165
165 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ 166 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/login/login_state.h ('k') | components/user_manager/fake_user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698