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

#include "media/mojo/mojom/provision_fetcher.mojom.h"


namespace media::mojom {


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

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

  ~ProvisionFetcherAsyncWaiter();
  void Retrieve(
      const ::GURL& default_url, const std::string& request_data, bool* out_result, std::string* out_response);
  

 private:
  ProvisionFetcher* const proxy_;
};




}  // media::mojom

#endif  // MEDIA_MOJO_MOJOM_PROVISION_FETCHER_MOJOM_TEST_UTILS_H_