chromium/chrome/browser/ui/safety_hub/safe_browsing_result.cc

// 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.

#include "chrome/browser/ui/safety_hub/safe_browsing_result.h"

#include <memory>

#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/safety_hub/safety_hub_constants.h"
#include "chrome/browser/ui/safety_hub/safety_hub_service.h"
#include "chrome/browser/ui/webui/settings/safety_hub_handler.h"
#include "chrome/grit/generated_resources.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "ui/base/l10n/l10n_util.h"

SafetyHubSafeBrowsingResult::SafetyHubSafeBrowsingResult(
    SafeBrowsingState status)
    :{}

SafetyHubSafeBrowsingResult::SafetyHubSafeBrowsingResult(
    const SafetyHubSafeBrowsingResult&) = default;
SafetyHubSafeBrowsingResult& SafetyHubSafeBrowsingResult::operator=(
    const SafetyHubSafeBrowsingResult&) = default;

SafetyHubSafeBrowsingResult::~SafetyHubSafeBrowsingResult() = default;

// static
std::optional<std::unique_ptr<SafetyHubService::Result>>
SafetyHubSafeBrowsingResult::GetResult(const PrefService* pref_service) {}

// static
SafeBrowsingState SafetyHubSafeBrowsingResult::GetState(
    const PrefService* pref_service) {}

std::unique_ptr<SafetyHubService::Result> SafetyHubSafeBrowsingResult::Clone()
    const {}

base::Value::Dict SafetyHubSafeBrowsingResult::ToDictValue() const {}

bool SafetyHubSafeBrowsingResult::IsTriggerForMenuNotification() const {}

bool SafetyHubSafeBrowsingResult::WarrantsNewMenuNotification(
    const base::Value::Dict& previous_result_dict) const {}

std::u16string SafetyHubSafeBrowsingResult::GetNotificationString() const {}

int SafetyHubSafeBrowsingResult::GetNotificationCommandId() const {}