chromium/components/history/core/browser/visit_delegate.h

// Copyright 2015 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_HISTORY_CORE_BROWSER_VISIT_DELEGATE_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DELEGATE_H_

#include <cstdint>
#include <optional>
#include <vector>

class GURL;

namespace url {
class Origin;
}

namespace visitedlink {
struct VisitedLink;
}

VisitedLink;

namespace history {

class HistoryService;

// VisitDelegate gets notified about URLs recorded as visited by the
// HistoryService. NOTE: Add and Delete VisitedLink mutations (not including
// GetOrAddOriginSalt()) MUST be called after going to the history DB thread.
// Otherwise, multiple mutation calls risk being applied out of order.
class VisitDelegate {};

}  // namespace history

#endif  // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DELEGATE_H_