#include "chrome/browser/ui/breadcrumb_manager_browser_agent.h"
#include <optional>
#include "chrome/browser/breadcrumbs/breadcrumb_manager_keyed_service_factory.h"
#include "chrome/browser/breadcrumbs/breadcrumb_manager_tab_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "components/breadcrumbs/core/breadcrumb_manager_keyed_service.h"
namespace {
int GetTabId(const content::WebContents* const web_contents) { … }
}
BreadcrumbManagerBrowserAgent::BreadcrumbManagerBrowserAgent(Browser* browser)
: … { … }
BreadcrumbManagerBrowserAgent::~BreadcrumbManagerBrowserAgent() { … }
void BreadcrumbManagerBrowserAgent::PlatformLogEvent(const std::string& event) { … }
void BreadcrumbManagerBrowserAgent::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }