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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « components/user_manager/user.cc ('k') | components/user_manager/user_manager_base.h » ('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_USER_MANAGER_H_ 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_H_
6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_H_ 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/user_manager/user.h" 10 #include "components/user_manager/user.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 // Returns true if at least one user has signed in. 264 // Returns true if at least one user has signed in.
265 virtual bool IsUserLoggedIn() const = 0; 265 virtual bool IsUserLoggedIn() const = 0;
266 266
267 // Returns true if we're logged in as a user with gaia account. 267 // Returns true if we're logged in as a user with gaia account.
268 virtual bool IsLoggedInAsUserWithGaiaAccount() const = 0; 268 virtual bool IsLoggedInAsUserWithGaiaAccount() const = 0;
269 269
270 // Returns true if we're logged in as a child user. 270 // Returns true if we're logged in as a child user.
271 virtual bool IsLoggedInAsChildUser() const = 0; 271 virtual bool IsLoggedInAsChildUser() const = 0;
272 272
273 // Returns true if we're logged in as a demo user.
274 virtual bool IsLoggedInAsDemoUser() const = 0;
275
276 // Returns true if we're logged in as a public account. 273 // Returns true if we're logged in as a public account.
277 virtual bool IsLoggedInAsPublicAccount() const = 0; 274 virtual bool IsLoggedInAsPublicAccount() const = 0;
278 275
279 // Returns true if we're logged in as a Guest. 276 // Returns true if we're logged in as a Guest.
280 virtual bool IsLoggedInAsGuest() const = 0; 277 virtual bool IsLoggedInAsGuest() const = 0;
281 278
282 // Returns true if we're logged in as a legacy supervised user. 279 // Returns true if we're logged in as a legacy supervised user.
283 virtual bool IsLoggedInAsSupervisedUser() const = 0; 280 virtual bool IsLoggedInAsSupervisedUser() const = 0;
284 281
285 // Returns true if we're logged in as a kiosk app. 282 // Returns true if we're logged in as a kiosk app.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 static UserManager* GetForTesting(); 329 static UserManager* GetForTesting();
333 330
334 // Sets UserManager instance to the given |user_manager|. 331 // Sets UserManager instance to the given |user_manager|.
335 // Returns the previous value of the instance. 332 // Returns the previous value of the instance.
336 static UserManager* SetForTesting(UserManager* user_manager); 333 static UserManager* SetForTesting(UserManager* user_manager);
337 }; 334 };
338 335
339 } // namespace user_manager 336 } // namespace user_manager
340 337
341 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_H_ 338 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « components/user_manager/user.cc ('k') | components/user_manager/user_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698