chromium/components/subresource_filter/core/browser/async_document_subresource_filter_test_utils.cc

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

#include "components/subresource_filter/core/browser/async_document_subresource_filter_test_utils.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "components/subresource_filter/core/mojom/subresource_filter.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace subresource_filter::testing {

TestActivationStateCallbackReceiver::TestActivationStateCallbackReceiver() =
    default;
TestActivationStateCallbackReceiver::~TestActivationStateCallbackReceiver() =
    default;

base::OnceCallback<void(mojom::ActivationState)>
TestActivationStateCallbackReceiver::GetCallback() {}

void TestActivationStateCallbackReceiver::WaitForActivationDecision() {}

void TestActivationStateCallbackReceiver::ExpectReceivedOnce(
    const mojom::ActivationState& expected_state) const {}

void TestActivationStateCallbackReceiver::Callback(
    mojom::ActivationState activation_state) {}

}  // namespace subresource_filter::testing