1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
6 #define MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
10 #include "media/base/output_device.h"
14 class FakeOutputDevice
: public OutputDevice
{
17 ~FakeOutputDevice() override
;
19 // OutputDevice implementation.
20 void SwitchOutputDevice(const std::string
& device_id
,
21 const url::Origin
& security_origin
,
22 const SwitchOutputDeviceCB
& callback
) override
;
23 AudioParameters
GetOutputParameters() override
;
26 DISALLOW_COPY_AND_ASSIGN(FakeOutputDevice
);
31 #endif // MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_