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

Side by Side Diff: components/user_manager/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 | « 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 "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 // Returns true if we're logged in as a Guest. 292 // Returns true if we're logged in as a Guest.
293 virtual bool IsLoggedInAsGuest() const = 0; 293 virtual bool IsLoggedInAsGuest() const = 0;
294 294
295 // Returns true if we're logged in as a legacy supervised user. 295 // Returns true if we're logged in as a legacy supervised user.
296 virtual bool IsLoggedInAsSupervisedUser() const = 0; 296 virtual bool IsLoggedInAsSupervisedUser() const = 0;
297 297
298 // Returns true if we're logged in as a kiosk app. 298 // Returns true if we're logged in as a kiosk app.
299 virtual bool IsLoggedInAsKioskApp() const = 0; 299 virtual bool IsLoggedInAsKioskApp() const = 0;
300 300
301 // Returns true if we're logged in as a ARC kiosk app.
302 virtual bool IsLoggedInAsArcKioskApp() const = 0;
303
301 // Returns true if we're logged in as the stub user used for testing on Linux. 304 // Returns true if we're logged in as the stub user used for testing on Linux.
302 virtual bool IsLoggedInAsStub() const = 0; 305 virtual bool IsLoggedInAsStub() const = 0;
303 306
304 // Returns true if we're logged in and browser has been started i.e. 307 // Returns true if we're logged in and browser has been started i.e.
305 // browser_creator.LaunchBrowser(...) was called after sign in 308 // browser_creator.LaunchBrowser(...) was called after sign in
306 // or restart after crash. 309 // or restart after crash.
307 virtual bool IsSessionStarted() const = 0; 310 virtual bool IsSessionStarted() const = 0;
308 311
309 // Returns true if data stored or cached for the user with the given 312 // Returns true if data stored or cached for the user with the given
310 // |account_id| 313 // |account_id|
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 static UserManager* GetForTesting(); 400 static UserManager* GetForTesting();
398 401
399 // Sets UserManager instance to the given |user_manager|. 402 // Sets UserManager instance to the given |user_manager|.
400 // Returns the previous value of the instance. 403 // Returns the previous value of the instance.
401 static UserManager* SetForTesting(UserManager* user_manager); 404 static UserManager* SetForTesting(UserManager* user_manager);
402 }; 405 };
403 406
404 } // namespace user_manager 407 } // namespace user_manager
405 408
406 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_H_ 409 #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