chromium/ash/components/arc/test/fake_adbd_monitor_instance.h

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

#ifndef ASH_COMPONENTS_ARC_TEST_FAKE_ADBD_MONITOR_INSTANCE_H_
#define ASH_COMPONENTS_ARC_TEST_FAKE_ADBD_MONITOR_INSTANCE_H_

#include "ash/components/arc/mojom/adbd.mojom.h"
#include "ash/components/arc/session/arc_bridge_service.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"

namespace arc {

class FakeAdbdMonitorInstance : public mojom::AdbdMonitorInstance {
 public:
  FakeAdbdMonitorInstance();
  ~FakeAdbdMonitorInstance() override;

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

  // mojom::AdbdMonitorInstance overrides:
  void Init(mojo::PendingRemote<mojom::AdbdMonitorHost> host_remote,
            InitCallback callback) override;

 private:
  mojo::Remote<mojom::AdbdMonitorHost> host_remote_;
};

}  // namespace arc

#endif  // ASH_COMPONENTS_ARC_TEST_FAKE_ADBD_MONITOR_INSTANCE_H_