chromium/components/safe_browsing/core/browser/realtime/fake_url_lookup_service.h

// Copyright 2024 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_SAFE_BROWSING_CORE_BROWSER_REALTIME_FAKE_URL_LOOKUP_SERVICE_H_
#define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_REALTIME_FAKE_URL_LOOKUP_SERVICE_H_

#include <optional>

#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/time/time.h"
#include "components/enterprise/common/proto/connectors.pb.h"
#include "components/safe_browsing/core/browser/realtime/url_lookup_service_base.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "components/safe_browsing/core/common/proto/realtimeapi.pb.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"

namespace safe_browsing::testing {

// A fake implementation of RealTimeUrlLookupServiceBase for use in tests.
// The `StartLookup()` virtual method is not implemented making this an
// abstract base class.  Most tests will need to derive from this class and
// only implement this method.
class FakeRealTimeUrlLookupService
    : public safe_browsing::RealTimeUrlLookupServiceBase {};

}  // namespace safe_browsing::testing

#endif  // COMPONENTS_SAFE_BROWSING_CORE_BROWSER_REALTIME_FAKE_URL_LOOKUP_SERVICE_H_