chromium/chrome/browser/enterprise/reporting/report_scheduler_desktop.cc

// Copyright 2020 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/enterprise/reporting/report_scheduler_desktop.h"

#include <optional>

#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/metrics/field_trial_params.h"
#include "base/notreached.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/reporting/prefs.h"
#include "chrome/browser/profiles/reporting_util.h"
#include "chrome/browser/upgrade_detector/build_state.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/pref_names.h"
#include "components/enterprise/browser/reporting/report_scheduler.h"
#include "components/policy/core/common/cloud/dm_token.h"
#include "components/prefs/pref_service.h"

em;

namespace enterprise_reporting {

namespace {

// Returns true if this build should generate basic reports when an update is
// detected.
// TODO(crbug.com/40703888): Get rid of this function after Chrome OS reporting
// logic has been split to its own delegates.
constexpr bool ShouldReportUpdates() {}

PrefService* LocalState() {}

}  // namespace

ReportSchedulerDesktop::ReportSchedulerDesktop()
    :{}

ReportSchedulerDesktop::ReportSchedulerDesktop(Profile* profile)
    :{}

ReportSchedulerDesktop::~ReportSchedulerDesktop() {}

PrefService* ReportSchedulerDesktop::GetPrefService() {}

void ReportSchedulerDesktop::StartWatchingUpdatesIfNeeded(
    base::Time last_upload,
    base::TimeDelta upload_interval) {}

void ReportSchedulerDesktop::StopWatchingUpdates() {}

void ReportSchedulerDesktop::OnBrowserVersionUploaded() {}

policy::DMToken ReportSchedulerDesktop::GetProfileDMToken() {}

std::string ReportSchedulerDesktop::GetProfileClientId() {}

void ReportSchedulerDesktop::OnUpdate(const BuildState* build_state) {}

}  // namespace enterprise_reporting