#include "components/breadcrumbs/core/breadcrumb_manager_browser_agent.h"
#include <string>
#include <vector>
#include "base/format_macros.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
namespace breadcrumbs {
BreadcrumbManagerBrowserAgent::BreadcrumbManagerBrowserAgent() { … }
bool BreadcrumbManagerBrowserAgent::IsLoggingEnabled() { … }
void BreadcrumbManagerBrowserAgent::SetLoggingEnabled(bool enabled) { … }
void BreadcrumbManagerBrowserAgent::LogEvent(const std::string& event) { … }
void BreadcrumbManagerBrowserAgent::LogTabsInserted(int num_tabs) { … }
void BreadcrumbManagerBrowserAgent::LogTabInsertedAt(int tab_id,
int index,
bool is_tab_active) { … }
void BreadcrumbManagerBrowserAgent::LogTabsClosed(int num_tabs) { … }
void BreadcrumbManagerBrowserAgent::LogTabClosedAt(int tab_id, int index) { … }
void BreadcrumbManagerBrowserAgent::LogTabMoved(int tab_id,
int from_index,
int to_index) { … }
void BreadcrumbManagerBrowserAgent::LogTabReplaced(int old_tab_id,
int new_tab_id,
int index) { … }
void BreadcrumbManagerBrowserAgent::LogActiveTabChanged(
std::optional<int> old_tab_id,
std::optional<int> new_tab_id,
std::optional<size_t> index) { … }
}