chromium/content/services/auction_worklet/public/cpp/auction_network_events_delegate.cc

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

#include "content/services/auction_worklet/public/cpp/auction_network_events_delegate.h"

#include <string>
#include <utility>

#include "content/services/auction_worklet/public/cpp/auction_downloader.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"

namespace auction_worklet {

MojoNetworkEventsDelegate::MojoNetworkEventsDelegate(
    mojo::PendingRemote<auction_worklet::mojom::AuctionNetworkEventsHandler>
        remote)
    :{}

MojoNetworkEventsDelegate::~MojoNetworkEventsDelegate() = default;

void MojoNetworkEventsDelegate::OnNetworkSendRequest(
    network::ResourceRequest& request) {}

void MojoNetworkEventsDelegate::OnNetworkResponseReceived(
    const GURL& url,
    const network::mojom::URLResponseHead& head) {}

void MojoNetworkEventsDelegate::OnNetworkRequestComplete(
    const network::URLLoaderCompletionStatus& status) {}

mojo::PendingRemote<auction_worklet::mojom::AuctionNetworkEventsHandler>
CreateNewAuctionNetworkEventsHandlerRemote(
    const mojo::Remote<auction_worklet::mojom::AuctionNetworkEventsHandler>&
        remote) {}

}  // namespace auction_worklet