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

Unified Diff: chrome/common/extensions/api/autotest_private.idl

Issue 13520005: autotestPrivate.loginStatus returns a dictionary instead of a string. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
Index: chrome/common/extensions/api/autotest_private.idl
===================================================================
--- chrome/common/extensions/api/autotest_private.idl (revision 192364)
+++ chrome/common/extensions/api/autotest_private.idl (working copy)
@@ -6,8 +6,28 @@
// extension.
[nodoc] namespace autotestPrivate {
- callback LoginStatusCallback = void (DOMString status);
+ dictionary LoginStatusDict {
+ // Are we logged in?
+ boolean isLoggedIn;
+ // Is the logged-in user the owner?
+ boolean isOwner;
+ // Is the screen locked?
+ boolean isScreenLocked;
+ // Is the logged-in user a regular user?
+ boolean isRegularUser;
+ // Are we logged into the guest account?
+ boolean isGuest;
+ // Are we logged into kiosk-app mode?
+ boolean isKiosk;
+
+ DOMString email;
+ DOMString displayEmail;
+ // User image: 'file', 'profile' or a number.
+ DOMString userImage;
+ };
+ callback LoginStatusCallback = void (LoginStatusDict status);
+
interface Functions {
// Logout of a user session.
static void logout();

Powered by Google App Engine
This is Rietveld 408576698