chromium/chrome/browser/ui/safety_hub/safety_hub_service.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/safety_hub_service.h"

#include <memory>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/json/values_util.h"
#include "base/task/thread_pool.h"
#include "base/time/time.h"
#include "content/public/browser/browser_thread.h"

SafetyHubService::Result::Result(base::Time timestamp)
    :{}

base::Value::Dict SafetyHubService::Result::BaseToDictValue() const {}

base::Time SafetyHubService::Result::timestamp() const {}

SafetyHubService::SafetyHubService() = default;
SafetyHubService::~SafetyHubService() = default;

void SafetyHubService::Shutdown() {}

void SafetyHubService::StopTimer() {}

void SafetyHubService::StartRepeatedUpdates() {}

void SafetyHubService::UpdateAsync() {}

void SafetyHubService::UpdateAsyncInternal() {}

void SafetyHubService::OnUpdateFinished(
    std::unique_ptr<SafetyHubService::Result> result) {}

void SafetyHubService::AddObserver(Observer* observer) {}

void SafetyHubService::RemoveObserver(Observer* observer) {}

void SafetyHubService::NotifyObservers(Result* result) {}

bool SafetyHubService::IsUpdateRunning() {}

std::optional<std::unique_ptr<SafetyHubService::Result>>
SafetyHubService::GetCachedResult() {}

void SafetyHubService::InitializeLatestResult() {}

bool SafetyHubService::IsTimerRunningForTesting() {}

void SafetyHubService::SetLatestResult(
    std::unique_ptr<SafetyHubService::Result> result) {}