Commit e68c02d5 authored by David Roger's avatar David Roger Committed by Commit Bot

[signin] Enable signin interception for kMultiUser

Bug: 1076880
Change-Id: Icbdb6c50e53321acd30288e0f14c9f788a46cbe6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352230Reviewed-by: default avatarAlex Ilin <alexilin@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797621}
parent 202ea58e
......@@ -17,9 +17,9 @@ void DiceWebSigninInterceptorDelegate::ShowSigninInterceptionBubble(
content::WebContents* web_contents,
const BubbleParameters& bubble_parameters,
base::OnceCallback<void(bool)> callback) {
if (bubble_parameters.interception_type !=
DiceWebSigninInterceptor::SigninInterceptionType::kEnterprise) {
// Only the enterprise interception is currently implemented.
if (bubble_parameters.interception_type ==
DiceWebSigninInterceptor::SigninInterceptionType::kProfileSwitch) {
// The bubble for profile switch is not implemented.
std::move(callback).Run(false);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment