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

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: feedback 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 191644)
+++ chrome/common/extensions/api/autotest_private.idl (working copy)
@@ -6,8 +6,21 @@
// extension.
[nodoc] namespace autotestPrivate {
- callback LoginStatusCallback = void (DOMString status);
+ dictionary LoginStatusDict {
+ boolean isLoggedIn;
+ boolean isOwner;
+ boolean isScreenLocked;
+ boolean isRegularUser;
+ boolean isGuest;
+ boolean isKiosk;
+
+ DOMString email;
+ DOMString displayEmail;
+ DOMString userImage;
Matt Perry 2013/04/04 00:56:18 Might want to comment these properties to make it
achuithb 2013/04/04 17:58:06 Done.
+ };
+ callback LoginStatusCallback = void (LoginStatusDict status);
+
interface Functions {
// Logout of a user session.
static void logout();

Powered by Google App Engine
This is Rietveld 408576698