#include "chrome/browser/metrics/browser_activity_watcher.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/browser_list_observer.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
BrowserActivityWatcher::BrowserActivityWatcher(
const base::RepeatingClosure& on_browser_activity)
: … { … }
BrowserActivityWatcher::~BrowserActivityWatcher() { … }
void BrowserActivityWatcher::OnBrowserAdded(Browser* browser) { … }
void BrowserActivityWatcher::OnBrowserRemoved(Browser* browser) { … }
void BrowserActivityWatcher::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }