#include "components/reporting/health/health_module.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/sequence_checker.h"
#include "base/strings/strcat.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/thread_annotations.h"
namespace reporting {
HealthModule::Recorder::Recorder(scoped_refptr<HealthModule> health_module)
: … { … }
HealthModule::Recorder::Recorder(HealthModule::Recorder&& other) = default;
HealthModule::Recorder& HealthModule::Recorder::operator=(
HealthModule::Recorder&& other) = default;
HealthModule::Recorder::~Recorder() { … }
operator bool()
HealthDataHistory& HealthModule::Recorder::operator*() noexcept { … }
HealthDataHistory* HealthModule::Recorder::operator->() noexcept { … }
scoped_refptr<HealthModule> HealthModule::Create(
std::unique_ptr<HealthModuleDelegate> delegate) { … }
HealthModule::HealthModule(std::unique_ptr<HealthModuleDelegate> delegate,
scoped_refptr<base::SequencedTaskRunner> task_runner)
: … { … }
HealthModule::~HealthModule() { … }
void HealthModule::PostHealthRecord(HealthDataHistory history) { … }
void HealthModule::GetHealthData(HealthCallback cb) { … }
}