chromium/components/sync/service/history_sync_session_durations_metrics_recorder.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 "components/sync/service/history_sync_session_durations_metrics_recorder.h"

#include <string>
#include <string_view>

#include "base/feature_list.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
#include "components/sync/base/features.h"
#include "components/sync/service/sync_user_settings.h"

namespace syncer {

namespace {

base::TimeDelta SubtractInactiveTime(base::TimeDelta total_length,
                                     base::TimeDelta inactive_time) {}

void LogDuration(std::string_view histogram_suffix,
                 base::TimeDelta session_length) {}

}  // namespace

HistorySyncSessionDurationsMetricsRecorder::
    HistorySyncSessionDurationsMetricsRecorder(SyncService* sync_service)
    :{}

HistorySyncSessionDurationsMetricsRecorder::
    ~HistorySyncSessionDurationsMetricsRecorder() {}

bool HistorySyncSessionDurationsMetricsRecorder::IsHistorySyncEnabled() const {}

void HistorySyncSessionDurationsMetricsRecorder::OnSessionStarted(
    base::TimeTicks session_start) {}

void HistorySyncSessionDurationsMetricsRecorder::OnSessionEnded(
    base::TimeDelta session_length) {}

void HistorySyncSessionDurationsMetricsRecorder::OnStateChanged(
    SyncService* sync) {}

// static
void HistorySyncSessionDurationsMetricsRecorder::LogHistorySyncDuration(
    bool history_sync_enabled,
    base::TimeDelta session_length) {}

}  // namespace syncer