#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SAFETY_CHECK_UTILS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_SAFETY_CHECK_UTILS_H_
#include "base/gtest_prod_util.h"
#include "chrome/common/extensions/api/developer_private.h"
#include "extensions/browser/blocklist_state.h"
#include "extensions/browser/extension_prefs.h"
class Profile;
namespace extensions {
class CWSInfoServiceInterface;
class Extension;
inline constexpr PrefMap kPrefAcknowledgeSafetyCheckWarning = …;
namespace ExtensionSafetyCheckUtils {
api::developer_private::SafetyCheckWarningReason GetSafetyCheckWarningReason(
const Extension& extension,
Profile* profile,
bool unpublished_only = false);
api::developer_private::SafetyCheckWarningReason
GetSafetyCheckWarningReasonHelper(CWSInfoServiceInterface* cws_info_service,
BitMapBlocklistState blocklist_state,
Profile* profile,
const Extension& extension,
bool unpublished_only = false);
api::developer_private::SafetyCheckStrings GetSafetyCheckWarningStrings(
api::developer_private::SafetyCheckWarningReason warning_reason,
api::developer_private::ExtensionState state);
}
}
#endif