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

Side by Side Diff: chrome/browser/chromeos/login/users/mock_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
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 CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 MOCK_CONST_METHOD0(IsCurrentUserOwner, bool(void)); 57 MOCK_CONST_METHOD0(IsCurrentUserOwner, bool(void));
58 MOCK_CONST_METHOD0(IsCurrentUserNew, bool(void)); 58 MOCK_CONST_METHOD0(IsCurrentUserNew, bool(void));
59 MOCK_CONST_METHOD0(IsCurrentUserNonCryptohomeDataEphemeral, bool(void)); 59 MOCK_CONST_METHOD0(IsCurrentUserNonCryptohomeDataEphemeral, bool(void));
60 MOCK_CONST_METHOD0(CanCurrentUserLock, bool(void)); 60 MOCK_CONST_METHOD0(CanCurrentUserLock, bool(void));
61 MOCK_CONST_METHOD0(IsUserLoggedIn, bool(void)); 61 MOCK_CONST_METHOD0(IsUserLoggedIn, bool(void));
62 MOCK_CONST_METHOD0(IsLoggedInAsUserWithGaiaAccount, bool(void)); 62 MOCK_CONST_METHOD0(IsLoggedInAsUserWithGaiaAccount, bool(void));
63 MOCK_CONST_METHOD0(IsLoggedInAsPublicAccount, bool(void)); 63 MOCK_CONST_METHOD0(IsLoggedInAsPublicAccount, bool(void));
64 MOCK_CONST_METHOD0(IsLoggedInAsGuest, bool(void)); 64 MOCK_CONST_METHOD0(IsLoggedInAsGuest, bool(void));
65 MOCK_CONST_METHOD0(IsLoggedInAsSupervisedUser, bool(void)); 65 MOCK_CONST_METHOD0(IsLoggedInAsSupervisedUser, bool(void));
66 MOCK_CONST_METHOD0(IsLoggedInAsKioskApp, bool(void)); 66 MOCK_CONST_METHOD0(IsLoggedInAsKioskApp, bool(void));
67 MOCK_CONST_METHOD0(IsLoggedInAsArcKioskApp, bool(void));
67 MOCK_CONST_METHOD0(IsLoggedInAsStub, bool(void)); 68 MOCK_CONST_METHOD0(IsLoggedInAsStub, bool(void));
68 MOCK_CONST_METHOD0(IsSessionStarted, bool(void)); 69 MOCK_CONST_METHOD0(IsSessionStarted, bool(void));
69 MOCK_CONST_METHOD1(IsUserNonCryptohomeDataEphemeral, bool(const AccountId&)); 70 MOCK_CONST_METHOD1(IsUserNonCryptohomeDataEphemeral, bool(const AccountId&));
70 MOCK_METHOD1(AddObserver, void(UserManager::Observer*)); 71 MOCK_METHOD1(AddObserver, void(UserManager::Observer*));
71 MOCK_METHOD1(RemoveObserver, void(UserManager::Observer*)); 72 MOCK_METHOD1(RemoveObserver, void(UserManager::Observer*));
72 MOCK_METHOD1(AddSessionStateObserver, 73 MOCK_METHOD1(AddSessionStateObserver,
73 void(UserManager::UserSessionStateObserver*)); 74 void(UserManager::UserSessionStateObserver*));
74 MOCK_METHOD1(RemoveSessionStateObserver, 75 MOCK_METHOD1(RemoveSessionStateObserver,
75 void(UserManager::UserSessionStateObserver*)); 76 void(UserManager::UserSessionStateObserver*));
76 MOCK_METHOD0(NotifyLocalStateChanged, void(void)); 77 MOCK_METHOD0(NotifyLocalStateChanged, void(void));
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 user_manager::UserList user_list_; 176 user_manager::UserList user_list_;
176 // TODO (alemate): remove temporary_owner_account_id_ as soon as 177 // TODO (alemate): remove temporary_owner_account_id_ as soon as
177 // User::GetAccountId will 178 // User::GetAccountId will
178 // return constant reference. crbug.com/546863 179 // return constant reference. crbug.com/546863
179 mutable AccountId temporary_owner_account_id_ = EmptyAccountId(); 180 mutable AccountId temporary_owner_account_id_ = EmptyAccountId();
180 }; 181 };
181 182
182 } // namespace chromeos 183 } // namespace chromeos
183 184
184 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ 185 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/users/chrome_user_manager_util.cc ('k') | chrome/browser/chromeos/policy/device_local_account.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698