#include "chrome/browser/cart/cart_metrics_tracker.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_recorder.h"
CartMetricsTracker::CartMetricsTracker(Browser* browser) { … }
CartMetricsTracker::~CartMetricsTracker() = default;
void CartMetricsTracker::ShutDown() { … }
void CartMetricsTracker::PrepareToRecordUKM(const GURL& url) { … }
void CartMetricsTracker::TabChangedAt(content::WebContents* contents,
int index,
TabChangeType change_type) { … }
void CartMetricsTracker::OnBrowserAdded(Browser* browser) { … }
void CartMetricsTracker::OnBrowserRemoved(Browser* browser) { … }