blob: 1c2423694c97f10d425c805aad406474308a9c53 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_SERVICES_MULTIDEVICE_SETUP_PRIVILEGED_HOST_DEVICE_SETTER_BASE_H_
#define CHROMEOS_SERVICES_MULTIDEVICE_SETUP_PRIVILEGED_HOST_DEVICE_SETTER_BASE_H_
#include "chromeos/services/multidevice_setup/public/mojom/multidevice_setup.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
namespace chromeos {
namespace multidevice_setup {
// PrivilegedHostDeviceSetter implementation which accepts requests to bind to
// it.
class PrivilegedHostDeviceSetterBase
: public mojom::PrivilegedHostDeviceSetter {
public:
~PrivilegedHostDeviceSetterBase() override;
void BindRequest(mojom::PrivilegedHostDeviceSetterRequest request);
protected:
PrivilegedHostDeviceSetterBase();
private:
mojo::BindingSet<mojom::PrivilegedHostDeviceSetter> bindings_;
DISALLOW_COPY_AND_ASSIGN(PrivilegedHostDeviceSetterBase);
};
} // namespace multidevice_setup
} // namespace chromeos
#endif // CHROMEOS_SERVICES_MULTIDEVICE_SETUP_PRIVILEGED_HOST_DEVICE_SETTER_BASE_H_