// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_BREADCRUMBS_CORE_BREADCRUMB_MANAGER_BROWSER_AGENT_H_ #define COMPONENTS_BREADCRUMBS_CORE_BREADCRUMB_MANAGER_BROWSER_AGENT_H_ #include <optional> #include <string> namespace breadcrumbs { // Logs activity for the associated Browser's underlying list of tabs based on // callbacks from various observers. Event logs are sent to the // BreadcrumbManagerKeyedService for the BrowserState (iOS) or BrowserContext // (desktop). For example: // Browser1 Insert active Tab2 at 0 // which indicates that a tab with identifier 2 (from // BreadcrumbManagerTabHelper) was inserted into the Browser with identifier 1 // (from BreadcrumbManagerBrowserAgent) at index 0. class BreadcrumbManagerBrowserAgent { … }; } // namespace breadcrumbs #endif // COMPONENTS_BREADCRUMBS_CORE_BREADCRUMB_MANAGER_BROWSER_AGENT_H_