| Index: media/base/fake_output_device.cc
|
| diff --git a/media/base/fake_output_device.cc b/media/base/fake_output_device.cc
|
| deleted file mode 100644
|
| index 2f7c8e70062369dc0338ac0b8ecd65e3cc6210e4..0000000000000000000000000000000000000000
|
| --- a/media/base/fake_output_device.cc
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -// Copyright (c) 2015 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.
|
| -
|
| -#include "media/base/fake_output_device.h"
|
| -
|
| -#include "base/callback.h"
|
| -
|
| -namespace media {
|
| -
|
| -FakeOutputDevice::FakeOutputDevice()
|
| - : FakeOutputDevice(OUTPUT_DEVICE_STATUS_OK) {}
|
| -
|
| -FakeOutputDevice::FakeOutputDevice(OutputDeviceStatus device_status)
|
| - : device_status_(device_status) {}
|
| -
|
| -FakeOutputDevice::~FakeOutputDevice() {}
|
| -
|
| -void FakeOutputDevice::SwitchOutputDevice(
|
| - const std::string& device_id,
|
| - const url::Origin& security_origin,
|
| - const SwitchOutputDeviceCB& callback) {
|
| - callback.Run(device_status_);
|
| -}
|
| -
|
| -AudioParameters FakeOutputDevice::GetOutputParameters() {
|
| - return media::AudioParameters(
|
| - media::AudioParameters::AUDIO_FAKE, media::CHANNEL_LAYOUT_STEREO,
|
| - media::AudioParameters::kTelephoneSampleRate, 16, 1);
|
| -}
|
| -
|
| -OutputDeviceStatus FakeOutputDevice::GetDeviceStatus() {
|
| - return device_status_;
|
| -}
|
| -
|
| -} // namespace media
|
|
|