// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_AUDIO_PUBLIC_CPP_FAKE_SYSTEM_INFO_H_ #define SERVICES_AUDIO_PUBLIC_CPP_FAKE_SYSTEM_INFO_H_ #include <string> #include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/receiver_set.h" #include "mojo/public/cpp/system/message_pipe.h" #include "services/audio/public/mojom/system_info.mojom.h" namespace audio { // An instance of this class can be used to override the global binding for // audio::SystemInfo. By default it behaves as if the system has no audio // devices. Inherit from it to override the behavior. class FakeSystemInfo : public mojom::SystemInfo { … }; } // namespace audio #endif // SERVICES_AUDIO_PUBLIC_CPP_FAKE_SYSTEM_INFO_H_