chromium/components/saved_tab_groups/stats.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/stats.h"

#include "base/metrics/histogram_functions.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "base/time/time.h"
#include "components/saved_tab_groups/saved_tab_group.h"
#include "components/saved_tab_groups/saved_tab_group_model.h"
#include "components/saved_tab_groups/saved_tab_group_tab.h"
#include "components/saved_tab_groups/types.h"
#include "components/tab_groups/tab_group_visual_data.h"

namespace tab_groups {
namespace stats {
constexpr base::TimeDelta kModifiedThreshold =;

// Only used for desktop code that uses SavedTabGroupKeyedService. Soon to be
// deprecated.
void RecordSavedTabGroupMetrics(SavedTabGroupModel* model) {}

void RecordTabCountMismatchOnConnect(size_t tabs_in_saved_group,
                                     size_t tabs_in_group) {}

void RecordMigrationResult(MigrationResult migration_result) {}

void RecordSpecificsParseFailureCount(int parse_failure_count,
                                      int total_entries) {}

void RecordParsedSavedTabGroupDataCount(int parsed_entries_count,
                                        int total_entries) {}

void RecordTabGroupVisualsMetrics(
    const tab_groups::TabGroupVisualData* visual_data) {}

}  // namespace stats
}  // namespace tab_groups