chromium/components/history/core/browser/visit_tracker_unittest.cc

// Copyright 2006-2008 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/history/core/browser/visit_tracker.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace history {
namespace {

struct VisitToTest {};

void AddVisitToTracker(const VisitToTest& test_data, VisitTracker* tracker) {}

void RunTest(VisitTracker* tracker, VisitToTest* test, int test_count) {}

}  // namespace

// A simple test that makes sure we transition between main pages in the
// presence of back/forward.
TEST(VisitTracker, SimpleTransitions) {}

// Test that referrer is properly computed when there are different frame
// navigations happening.
TEST(VisitTracker, Frames) {}

// Test frame navigation to make sure that the referrer is properly computed
// when there are multiple processes navigating the same pages.
TEST(VisitTracker, MultiProcess) {}

// Test that processes get removed properly.
TEST(VisitTracker, ProcessRemove) {}

TEST(VisitTracker, RemoveVisitById) {}

TEST(VisitTracker, Clear) {}

}  // namespace history