chromium/components/breadcrumbs/core/breadcrumb_manager.h

// Copyright 2019 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_H_
#define COMPONENTS_BREADCRUMBS_CORE_BREADCRUMB_MANAGER_H_

#include <string>

#include "base/containers/circular_deque.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "base/time/time.h"

namespace breadcrumbs {

class BreadcrumbManagerObserver;

// The maximum number of breadcrumbs to keep track of. Once this is reached,
// the oldest breadcrumbs will be dropped.
extern const size_t kMaxBreadcrumbs;

// Stores events logged with `AddEvent` in memory, which can later be retrieved
// with `GetEvents`.
class BreadcrumbManager {};

}  // namespace breadcrumbs

#endif  // COMPONENTS_BREADCRUMBS_CORE_BREADCRUMB_MANAGER_H_