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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.cc

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: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index d9484ce7b209ab75da1c1bc269def940843cad84..b34991523eed899cf295f00f1cc610d6186fb184 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -433,9 +433,9 @@ void ArcAuthService::OnRobotAuthCodeFetched(
return;
}
- account_info_notifier_->Notify(
- !IsOptInVerificationDisabled(), robot_auth_code,
- mojom::ChromeAccountType::ROBOT_ACCOUNT, false);
+ account_info_notifier_->Notify(!IsOptInVerificationDisabled(),
+ robot_auth_code,
+ mojom::ChromeAccountType::ROBOT_ACCOUNT, true);
peletskyi 2016/11/12 16:52:17 ArcAuthServiceBrowsertest must be fixed as well.
hidehiko 2016/11/14 05:29:24 policy_util::IsAccountManaged(profile_) looks bett
Sergey Poromov 2016/11/14 17:23:22 Done.
account_info_notifier_.reset();
}
@@ -473,7 +473,7 @@ void ArcAuthService::OnSignInComplete() {
return;
profile_->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true);
- if (!IsOptInVerificationDisabled()) {
+ if (!IsOptInVerificationDisabled() && !IsArcKioskMode()) {
hidehiko 2016/11/14 05:29:24 Any comments?
Sergey Poromov 2016/11/14 17:23:22 Done.
playstore_launcher_.reset(
new ArcAppLauncher(profile_, kPlayStoreAppId, true));
}

Powered by Google App Engine
This is Rietveld 408576698