chromium/content/public/test/test_shared_storage_header_observer.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/public/test/test_shared_storage_header_observer.h"

#include <memory>
#include <string>
#include <utility>
#include <vector>

#include "base/run_loop.h"
#include "components/services/storage/shared_storage/shared_storage_manager.h"
#include "content/browser/shared_storage/shared_storage_header_observer.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/test/shared_storage_test_utils.h"
#include "services/network/public/mojom/url_loader_network_service_observer.mojom.h"

namespace content {

TestSharedStorageHeaderObserver::TestSharedStorageHeaderObserver(
    StoragePartition* storage_partition)
    :{}

TestSharedStorageHeaderObserver::~TestSharedStorageHeaderObserver() = default;

void TestSharedStorageHeaderObserver::WaitForOperations(size_t expected_total) {}

void TestSharedStorageHeaderObserver::OnHeaderProcessed(
    const url::Origin& request_origin,
    const std::vector<bool>& header_results) {}

void TestSharedStorageHeaderObserver::OnOperationFinished(
    const url::Origin& request_origin,
    OperationPtr operation,
    OperationResult result) {}

}  // namespace content