#include "chrome/browser/apps/link_capturing/link_capturing_feature_test_support.h"
#include <optional>
#include "base/check_is_test.h"
#include "base/test/test_future.h"
#include "base/types/expected.h"
#include "build/build_config.h"
#include "chrome/browser/apps/link_capturing/link_capturing_features.h"
#include "chrome/browser/web_applications/web_app_command_scheduler.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "content/public/common/content_features.h"
#if BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/apps/intent_helper/preferred_apps_test_util.h"
#endif
namespace apps::test {
std::vector<base::test::FeatureRefAndParams> GetFeaturesToEnableLinkCapturingUX(
std::optional<bool> override_captures_by_default) { … }
std::vector<base::test::FeatureRef> GetFeaturesToDisableLinkCapturingUX() { … }
base::expected<void, std::string> EnableLinkCapturingByUser(
Profile* profile,
const webapps::AppId& app_id) { … }
base::expected<void, std::string> DisableLinkCapturingByUser(
Profile* profile,
const webapps::AppId& app_id) { … }
}