Index: chrome/browser/chromeos/login/existing_user_controller.h |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h |
index be197f65441834f041449776812924cfed8c5e20..0ce80fe315ad90959cc80abab1da4d0444358378 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.h |
+++ b/chrome/browser/chromeos/login/existing_user_controller.h |
@@ -28,6 +28,10 @@ |
#include "ui/gfx/rect.h" |
#include "url/gurl.h" |
+namespace base { |
+class ListValue; |
+} |
+ |
namespace chromeos { |
class CrosSettings; |
@@ -220,6 +224,17 @@ class ExistingUserController : public LoginDisplay::Delegate, |
// Sends an accessibility alert event to extension listeners. |
void SendAccessibilityAlert(const std::string& alert_text); |
+ // Callback invoked when the keyboard layouts available for a public session |
+ // have been retrieved. Selects the first layout from the list and continues |
+ // login. |
+ void SetPublicSessionKeyboardLayoutAndLogin( |
+ const UserContext& user_context, |
+ scoped_ptr<base::ListValue> keyboard_layouts); |
+ |
+ // Starts the actual login process for a public session. Invoked when all |
+ // preconditions have been verified. |
+ void LoginAsPublicSessionInternal(const UserContext& user_context); |
+ |
// Public session auto-login timer. |
scoped_ptr<base::OneShotTimer<ExistingUserController> > auto_login_timer_; |