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

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 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 is_logged_in;
+ boolean is_owner;
+ boolean is_screen_locked;
+ boolean is_regular_user;
+ boolean is_guest;
+ boolean is_kiosk;
+
+ DOMString email;
+ DOMString display_email;
+ long user_image;
Matt Perry 2013/04/04 00:12:03 use camelCasing style for these.
achuithb 2013/04/04 00:42:28 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