#ifndef CHROME_BROWSER_ACTOR_SAFETY_LIST_MANAGER_H_
#define CHROME_BROWSER_ACTOR_SAFETY_LIST_MANAGER_H_
#include <string_view>
#include "chrome/browser/actor/safety_list.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
namespace actor {
class SafetyListManager {
public:
SafetyListManager();
~SafetyListManager();
SafetyListManager(const SafetyListManager&) = delete;
SafetyListManager& operator=(const SafetyListManager&) = delete;
static SafetyListManager* GetInstance();
const SafetyList& get_allowed_list() const { return allowed_; }
const SafetyList& get_blocked_list() const { return blocked_; }
void ParseSafetyLists(std::string_view json);
private:
SafetyList allowed_;
SafetyList blocked_;
};
}
#endif