blob: 58049feeef46b6f9873dfed07a065f692b24de37 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SHARED_MODEL_PROFILE_FEATURES_H_
#define IOS_CHROME_BROWSER_SHARED_MODEL_PROFILE_FEATURES_H_
#import "base/feature_list.h"
// THIS CANNOT BE USED FROM EARLGREY TESTS.
// Returns whether the feature to put each managed account into its own separate
// profile is enabled. This is the case if `kSeparateProfilesForManagedAccounts`
// is enabled *and* the iOS version is >= 17 (required for multiprofile).
bool AreSeparateProfilesForManagedAccountsEnabled();
// YES if the account particle disc on the NTP should open the account menu.
bool IsIdentityDiscAccountMenuEnabled();
// YES if Profile-specific push notification handling is enabled.
bool IsMultiProfilePushNotificationHandlingEnabled();
// Whether the feature to have share entries (URL, image and text) per profile
// is enabled.
bool IsShareExtensionForMultiprofileEnabled();
#endif // IOS_CHROME_BROWSER_SHARED_MODEL_PROFILE_FEATURES_H_