#include "components/segmentation_platform/internal/signals/history_delegate_impl.h"
#include "base/time/time.h"
#include "components/history/core/browser/history_service.h"
#include "components/segmentation_platform/internal/signals/url_signal_handler.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace segmentation_platform {
namespace {
_;
Return;
base::CancelableTaskTracker::TaskId RunNotFoundCallback(
const GURL& url,
bool want_visits,
history::HistoryService::QueryURLCallback callback,
base::CancelableTaskTracker* tracker) { … }
base::CancelableTaskTracker::TaskId RunFoundCallback(
const GURL& url,
bool want_visits,
history::HistoryService::QueryURLCallback callback,
base::CancelableTaskTracker* tracker) { … }
class MockHistoryService : public history::HistoryService { … };
}
class HistoryDelegateImplTest : public testing::Test { … };
TEST_F(HistoryDelegateImplTest, FindInHistory) { … }
TEST_F(HistoryDelegateImplTest, FastCheck) { … }
}