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

Unified Diff: chrome/browser/chromeos/login/parallel_authenticator.h

Issue 205713002: Add a basic demo mode browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license Created 6 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/browser/chromeos/login/parallel_authenticator.h
diff --git a/chrome/browser/chromeos/login/parallel_authenticator.h b/chrome/browser/chromeos/login/parallel_authenticator.h
index 8ea765a59372a76e1ef6a656d20e3f4ffb95c599..0bb80df3567c1c492e171a618e0379c4170977cb 100644
--- a/chrome/browser/chromeos/login/parallel_authenticator.h
+++ b/chrome/browser/chromeos/login/parallel_authenticator.h
@@ -132,10 +132,12 @@ class ParallelAuthenticator : public Authenticator,
virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE;
// Initiates login into the kiosk mode account identified by |app_user_id|.
- // Mounts an public but non-ephemeral cryptohome and notifies consumer on the
- // success/failure.
- virtual void LoginAsKioskAccount(
- const std::string& app_user_id, bool force_ephemeral) OVERRIDE;
+ // Mounts an ephemeral guest cryptohome if |use_guest_mount| is |true|.
+ // Otherwise, mounts a public cryptohome, which will be ephemeral if the
+ // |DeviceEphemeralUsersEnabled| policy is enabled and non-ephemeral
+ // otherwise.
+ virtual void LoginAsKioskAccount(const std::string& app_user_id,
+ bool use_guest_mount) OVERRIDE;
// These methods must be called on the UI thread, as they make DBus calls
// and also call back to the login UI.
« no previous file with comments | « chrome/browser/chromeos/login/mock_authenticator.cc ('k') | chrome/browser/chromeos/login/parallel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698