#include "components/commerce/core/metrics/scheduled_metrics_manager.h"
#include <vector>
#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "base/task/sequenced_task_runner.h"
#include "components/commerce/core/pref_names.h"
#include "components/commerce/core/price_tracking_utils.h"
#include "components/commerce/core/shopping_service.h"
#include "components/commerce/core/subscriptions/commerce_subscription.h"
#include "components/prefs/pref_service.h"
namespace commerce::metrics {
namespace {
const base::TimeDelta kDailyInterval = …;
}
const char kPriceNotificationEmailHistogramName[] = …;
const char kTrackedProductCountHistogramName[] = …;
ScheduledMetricsManager::ScheduledMetricsManager(
PrefService* prefs,
ShoppingService* shopping_service)
: … { … }
ScheduledMetricsManager::~ScheduledMetricsManager() = default;
void ScheduledMetricsManager::RunDailyTask() { … }
}