#include "chrome/browser/ui/tabs/pinned_tab_service.h"
#include "base/functional/bind.h"
#include "chrome/browser/lifetime/application_lifetime_desktop.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/tabs/pinned_tab_codec.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
PinnedTabService::PinnedTabService(Profile* profile) : … { … }
PinnedTabService::~PinnedTabService() { … }
void PinnedTabService::OnClosingAllBrowsersChanged(bool closing) { … }
void PinnedTabService::OnBrowserAdded(Browser* browser) { … }
void PinnedTabService::OnBrowserClosing(Browser* browser) { … }
void PinnedTabService::OnBrowserRemoved(Browser* browser) { … }
void PinnedTabService::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }
void PinnedTabService::WritePinnedTabsIfNecessary() { … }