#include "components/history/core/browser/in_memory_history_backend.h"
#include <memory>
#include <set>
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "components/history/core/browser/in_memory_database.h"
#include "components/history/core/browser/url_database.h"
namespace history {
InMemoryHistoryBackend::InMemoryHistoryBackend() = default;
InMemoryHistoryBackend::~InMemoryHistoryBackend() = default;
bool InMemoryHistoryBackend::Init(const base::FilePath& history_filename) { … }
void InMemoryHistoryBackend::AttachToHistoryService(
HistoryService* history_service) { … }
void InMemoryHistoryBackend::DeleteAllSearchTermsForKeyword(
KeywordID keyword_id) { … }
void InMemoryHistoryBackend::OnURLVisited(
history::HistoryService* history_service,
const history::URLRow& url_row,
const history::VisitRow& new_visit) { … }
void InMemoryHistoryBackend::OnURLsModified(HistoryService* history_service,
const URLRows& changed_urls) { … }
void InMemoryHistoryBackend::OnHistoryDeletions(
HistoryService* history_service,
const DeletionInfo& deletion_info) { … }
void InMemoryHistoryBackend::OnKeywordSearchTermUpdated(
HistoryService* history_service,
const URLRow& row,
KeywordID keyword_id,
const std::u16string& term) { … }
void InMemoryHistoryBackend::OnKeywordSearchTermDeleted(
HistoryService* history_service,
URLID url_id) { … }
void InMemoryHistoryBackend::OnURLVisitedOrModified(const URLRow& url_row) { … }
}