#include "chrome/browser/ui/tabs/organization/tab_data.h"
#include "chrome/browser/ui/tabs/organization/tab_sensitivity_cache.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/web_contents.h"
#include "url/gurl.h"
namespace {
int kNextTabID = …;
}
TabData::TabData(TabStripModel* model, content::WebContents* web_contents)
: … { … }
TabData::~TabData() { … }
void TabData::AddObserver(TabData::Observer* observer) { … }
void TabData::RemoveObserver(TabData::Observer* observer) { … }
bool TabData::IsValidForOrganizing(
std::optional<tab_groups::TabGroupId> allowed_group_id) const { … }
void TabData::OnTabStripModelDestroyed(TabStripModel* tab_strip_model) { … }
void TabData::OnTabStripModelChanged(TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }
void TabData::DidFinishNavigation(
content::NavigationHandle* navigation_handle) { … }
void TabData::NotifyObserversOfUpdate() { … }