// third_party/blink/public/mojom/disk_allocator.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

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

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_DISK_ALLOCATOR_MOJOM_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_DISK_ALLOCATOR_MOJOM_TEST_UTILS_H_

#include "third_party/blink/public/mojom/disk_allocator.mojom.h"
#include "third_party/blink/public/common/common_export.h"


namespace blink::mojom {


class BLINK_COMMON_EXPORT DiskAllocatorInterceptorForTesting : public DiskAllocator {
  virtual DiskAllocator* GetForwardingInterface() = 0;
  void ProvideTemporaryFile(::base::File file) override;
};
class BLINK_COMMON_EXPORT DiskAllocatorAsyncWaiter {
 public:
  explicit DiskAllocatorAsyncWaiter(DiskAllocator* proxy);

  DiskAllocatorAsyncWaiter(const DiskAllocatorAsyncWaiter&) = delete;
  DiskAllocatorAsyncWaiter& operator=(const DiskAllocatorAsyncWaiter&) = delete;

  ~DiskAllocatorAsyncWaiter();

 private:
  DiskAllocator* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_DISK_ALLOCATOR_MOJOM_TEST_UTILS_H_