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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 2498613003: Add ARC++ kiosk menu items and ability to start kiosk session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 private: 131 private:
132 friend class ExistingUserControllerTest; 132 friend class ExistingUserControllerTest;
133 friend class ExistingUserControllerAutoLoginTest; 133 friend class ExistingUserControllerAutoLoginTest;
134 friend class ExistingUserControllerPublicSessionTest; 134 friend class ExistingUserControllerPublicSessionTest;
135 friend class MockLoginPerformerDelegate; 135 friend class MockLoginPerformerDelegate;
136 136
137 void LoginAsGuest(); 137 void LoginAsGuest();
138 void LoginAsPublicSession(const UserContext& user_context); 138 void LoginAsPublicSession(const UserContext& user_context);
139 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode); 139 void LoginAsKioskApp(const std::string& app_id, bool diagnostic_mode);
140 void LoginAsArcKioskApp(const AccountId& account_id);
140 141
141 // Retrieve public session auto-login policy and update the timer. 142 // Retrieve public session auto-login policy and update the timer.
142 void ConfigurePublicSessionAutoLogin(); 143 void ConfigurePublicSessionAutoLogin();
143 144
144 // Trigger public session auto-login. 145 // Trigger public session auto-login.
145 void OnPublicSessionAutoLoginTimerFire(); 146 void OnPublicSessionAutoLoginTimerFire();
146 147
147 // LoginPerformer::Delegate implementation: 148 // LoginPerformer::Delegate implementation:
148 void OnAuthFailure(const AuthFailure& error) override; 149 void OnAuthFailure(const AuthFailure& error) override;
149 void OnAuthSuccess(const UserContext& user_context) override; 150 void OnAuthSuccess(const UserContext& user_context) override;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 348
348 // Factory of callbacks. 349 // Factory of callbacks.
349 base::WeakPtrFactory<ExistingUserController> weak_factory_; 350 base::WeakPtrFactory<ExistingUserController> weak_factory_;
350 351
351 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 352 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
352 }; 353 };
353 354
354 } // namespace chromeos 355 } // namespace chromeos
355 356
356 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 357 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698