Commit 142c8716 authored by Roman Aleksandrov's avatar Roman Aleksandrov Committed by Commit Bot

Managed Guest Session: Remove notification feature flag

Bug: 927331
Change-Id: I10a586393caed0c0dd32aa26f6b81a757e84deb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1782816Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Roman Aleksandrov <raleksandrov@google.com>
Cr-Commit-Position: refs/heads/master@{#693205}
parent 1d7ec6b3
......@@ -991,9 +991,7 @@ void ExistingUserController::OnAuthSuccess(const UserContext& user_context) {
}
ClearRecordedNames();
if (base::FeatureList::IsEnabled(
features::kManagedGuestSessionNotification) &&
public_session_auto_login_account_id_.is_valid() &&
if (public_session_auto_login_account_id_.is_valid() &&
public_session_auto_login_account_id_ == user_context.GetAccountId() &&
last_login_attempt_was_auto_login_) {
const std::string& user_id = user_context.GetAccountId().GetUserEmail();
......
......@@ -472,15 +472,6 @@ const base::Feature kAcknowledgeNtpOverrideOnDeactivate{
"AcknowledgeNtpOverrideOnDeactivate", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
#if defined(OS_CHROMEOS)
// Enables or disables notification which pop-ups after managed guest session
// autolaunch
// TODO(owner:raleksandrov): Remove this after successful launch.
// https://crbug.com/927331
const base::Feature kManagedGuestSessionNotification{
"ManagedGuestSessionNotification", base::FEATURE_ENABLED_BY_DEFAULT};
#endif
#if !defined(OS_ANDROID)
const base::Feature kOnConnectNative{"OnConnectNative",
base::FEATURE_DISABLED_BY_DEFAULT};
......
......@@ -307,11 +307,6 @@ COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate;
#endif
#if defined(OS_CHROMEOS)
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kManagedGuestSessionNotification;
#endif
#if !defined(OS_ANDROID)
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::Feature kOnConnectNative;
......
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