#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 = …;
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) { … }
}
}