chromium/chrome/browser/ui/safety_hub/safety_hub_prefs.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_SAFETY_HUB_SAFETY_HUB_PREFS_H_
#define CHROME_BROWSER_UI_SAFETY_HUB_SAFETY_HUB_PREFS_H_

#include "build/build_config.h"

class PrefRegistrySimple;

namespace safety_hub_prefs {

#if !BUILDFLAG(IS_ANDROID)
// Dictionary that determines the next time SafetyHub will trigger a background
// password check.
inline constexpr char kBackgroundPasswordCheckTimeAndInterval[] =;

// Keys used inside the `kBackgroundPasswordCheckTimeAndInterval` pref dict.
inline constexpr char kNextPasswordCheckTimeKey[] =;
inline constexpr char kPasswordCheckIntervalKey[] =;
inline constexpr char kPasswordCheckMonWeight[] =;
inline constexpr char kPasswordCheckTueWeight[] =;
inline constexpr char kPasswordCheckWedWeight[] =;
inline constexpr char kPasswordCheckThuWeight[] =;
inline constexpr char kPasswordCheckFriWeight[] =;
inline constexpr char kPasswordCheckSatWeight[] =;
inline constexpr char kPasswordCheckSunWeight[] =;
#endif  // !BUILDFLAG(IS_ANDROID)

// Dictionary that holds the notifications in the three-dot menu and their
// associated results.
inline const char kMenuNotificationsPrefsKey[] =;

// Boolean that specifies whether or not unused site permissions should be
// revoked by Safety Hub. It is used only when kSafetyHub flag is on.
// Conditioned because currently Safety Hub is available only on desktop and
// Android.
inline const char kUnusedSitePermissionsRevocationEnabled[] =;

// Boolean that indicates whether the revoked permissions have successfully
// migrated to use string key values instead of integer key values.
inline const char kUnusedSitePermissionsRevocationMigrationCompleted[] =;

}  // namespace safety_hub_prefs

void RegisterSafetyHubProfilePrefs(PrefRegistrySimple* registry);

#endif  // CHROME_BROWSER_UI_SAFETY_HUB_SAFETY_HUB_PREFS_H_