// media/mojo/mojom/provision_fetcher.mojom-blink-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 MEDIA_MOJO_MOJOM_PROVISION_FETCHER_MOJOM_BLINK_TEST_UTILS_H_
#define MEDIA_MOJO_MOJOM_PROVISION_FETCHER_MOJOM_BLINK_TEST_UTILS_H_

#include "media/mojo/mojom/provision_fetcher.mojom-blink.h"
#include "third_party/blink/public/platform/web_common.h"


namespace media::mojom::blink {


class BLINK_PLATFORM_EXPORT ProvisionFetcherInterceptorForTesting : public ProvisionFetcher {
  virtual ProvisionFetcher* GetForwardingInterface() = 0;
  void Retrieve(const ::blink::KURL& default_url, const ::blink::String& request_data, RetrieveCallback callback) override;
};
class BLINK_PLATFORM_EXPORT ProvisionFetcherAsyncWaiter {
 public:
  explicit ProvisionFetcherAsyncWaiter(ProvisionFetcher* proxy);

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

  ~ProvisionFetcherAsyncWaiter();
  void Retrieve(
      const ::blink::KURL& default_url, const ::blink::String& request_data, bool* out_result, ::blink::String* out_response);
  

 private:
  ProvisionFetcher* const proxy_;
};




}  // media::mojom::blink

#endif  // MEDIA_MOJO_MOJOM_PROVISION_FETCHER_MOJOM_BLINK_TEST_UTILS_H_