// components/mirroring/mojom/cast_message_channel.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 COMPONENTS_MIRRORING_MOJOM_CAST_MESSAGE_CHANNEL_MOJOM_TEST_UTILS_H_
#define COMPONENTS_MIRRORING_MOJOM_CAST_MESSAGE_CHANNEL_MOJOM_TEST_UTILS_H_

#include "components/mirroring/mojom/cast_message_channel.mojom.h"


namespace mirroring::mojom {


class  CastMessageChannelInterceptorForTesting : public CastMessageChannel {
  virtual CastMessageChannel* GetForwardingInterface() = 0;
  void OnMessage(CastMessagePtr message) override;
};
class  CastMessageChannelAsyncWaiter {
 public:
  explicit CastMessageChannelAsyncWaiter(CastMessageChannel* proxy);

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

  ~CastMessageChannelAsyncWaiter();

 private:
  CastMessageChannel* const proxy_;
};




}  // mirroring::mojom

#endif  // COMPONENTS_MIRRORING_MOJOM_CAST_MESSAGE_CHANNEL_MOJOM_TEST_UTILS_H_