chromium/components/saved_tab_groups/tab_group_sync_metrics_logger_unittest.cc

// Copyright 2024 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/saved_tab_groups/tab_group_sync_metrics_logger.h"

#include <memory>

#include "base/test/metrics/histogram_tester.h"
#include "components/saved_tab_groups/saved_tab_group_test_utils.h"
#include "components/sync_device_info/device_info.h"
#include "components/sync_device_info/device_info_tracker.h"
#include "components/sync_device_info/fake_device_info_tracker.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

_;
Eq;
Invoke;
Return;

namespace tab_groups {
namespace {

// Remote device guids.
const char kDeviceGuid1[] =;
const char kDeviceGuid2[] =;

// Local device guid.
const char kDeviceGuid3[] =;

}  // namespace

class TabGroupSyncMetricsLoggerTest : public testing::Test {};

TEST_F(TabGroupSyncMetricsLoggerTest, HistogramsAreEmittedForLogEvents) {}

TEST_F(TabGroupSyncMetricsLoggerTest, SomeEventsForLocalDeviceOrigin) {}

TEST_F(TabGroupSyncMetricsLoggerTest, TabGroupOpenedFromRevisitUi) {}

TEST_F(TabGroupSyncMetricsLoggerTest, TabGroupOpenedFromSync) {}

TEST_F(TabGroupSyncMetricsLoggerTest, TabGroupClosedByUser) {}

TEST_F(TabGroupSyncMetricsLoggerTest, SyncGroupDeletionIsIgnoredByMetrics) {}

TEST_F(TabGroupSyncMetricsLoggerTest, DeviceTypeConversion) {}

TEST_F(TabGroupSyncMetricsLoggerTest, RecordMetricsOnStartup) {}

}  // namespace tab_groups