#include "content/public/test/fenced_frame_reporter_observer.h"
#include <memory>
#include <optional>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/test/test_future.h"
#include "content/browser/fenced_frame/fenced_frame_config.h"
#include "content/browser/fenced_frame/fenced_frame_reporter.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "third_party/abseil-cpp/absl/types/variant.h"
namespace content {
namespace test {
FencedFrameReporterObserverForTesting::FencedFrameReporterObserverForTesting(
FencedFrameReporter* fenced_frame_reporter,
const FencedFrameReporter::DestinationVariant& event_variant)
: … { … }
FencedFrameReporterObserverForTesting::
~FencedFrameReporterObserverForTesting() { … }
void FencedFrameReporterObserverForTesting::OnBeaconQueued(
const FencedFrameReporter::DestinationVariant& event_variant,
bool is_queued) { … }
bool FencedFrameReporterObserverForTesting::IsReportingEventQueued() { … }
std::unique_ptr<FencedFrameReporterObserverForTesting>
InstallFencedFrameReporterObserver(
RenderFrameHost* fenced_frame_rfh,
const FencedFrameReporter::DestinationVariant& event_variant) { … }
}
}