#include "chrome/browser/ui/tabs/organization/tab_declutter_controller.h"
#include "base/time/time.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/resource_coordinator/tab_lifecycle_unit_external.h"
#include "chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h"
#include "chrome/browser/resource_coordinator/tab_manager.h"
#include "chrome/browser/resource_coordinator/time.h"
#include "chrome/browser/ui/tabs/tab_model.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/ui_features.h"
#include "content/public/browser/browser_context.h"
namespace tabs {
namespace {
constexpr int kStaleThresholdDurationDays = …;
constexpr int kTimerIntervalMinutes = …;
}
TabDeclutterController::TabDeclutterController(TabStripModel* tab_strip_model)
: … { … }
TabDeclutterController::~TabDeclutterController() { … }
void TabDeclutterController::StartTimer() { … }
void TabDeclutterController::ProcessStaleTabs() { … }
bool TabDeclutterController::DeclutterNudgeCriteriaMet() { … }
void TabDeclutterController::SetTimerForTesting(
const base::TickClock* tick_clock,
scoped_refptr<base::SequencedTaskRunner> task_runner) { … }
}