| // 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_MULTIDEVICE_SETUP_BASE_H_ |
| #define CHROMEOS_SERVICES_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_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 { |
| |
| // MultiDeviceSetup implementation which accepts requests to bind to it. |
| class MultiDeviceSetupBase : public mojom::MultiDeviceSetup { |
| public: |
| ~MultiDeviceSetupBase() override; |
| |
| void BindRequest(mojom::MultiDeviceSetupRequest request); |
| |
| protected: |
| MultiDeviceSetupBase(); |
| |
| private: |
| mojo::BindingSet<mojom::MultiDeviceSetup> bindings_; |
| |
| DISALLOW_COPY_AND_ASSIGN(MultiDeviceSetupBase); |
| }; |
| |
| } // namespace multidevice_setup |
| |
| } // namespace chromeos |
| |
| #endif // CHROMEOS_SERVICES_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_BASE_H_ |