blob: 5540fcbd114169c8e88d0a01b85fc944bbfc9e06 [file] [log] [blame]
// Copyright 2024 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_SAFETY_CHECK_NOTIFICATIONS_UTILS_TEST_UTILS_H_
#define IOS_CHROME_BROWSER_SAFETY_CHECK_NOTIFICATIONS_UTILS_TEST_UTILS_H_
// Updates the app-level notification permission for Safety Check notifications.
// This function modifies the `kAppLevelPushNotificationPermissions` preference
// dictionary in local Prefs to enable or disable Safety Check notifications.
// Pass `YES` to enable notifications or `NO` to disable them.
void UpdateSafetyCheckNotificationsPermission(bool enable);
#endif // IOS_CHROME_BROWSER_SAFETY_CHECK_NOTIFICATIONS_UTILS_TEST_UTILS_H_