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 #include "media/base/fake_output_device.h"
7 #include "base/callback.h"
11 FakeOutputDevice::FakeOutputDevice() {}
12 FakeOutputDevice::~FakeOutputDevice() {}
14 void FakeOutputDevice::SwitchOutputDevice(
15 const std::string
& device_id
,
16 const GURL
& security_origin
,
17 const SwitchOutputDeviceCB
& callback
) {
18 callback
.Run(SWITCH_OUTPUT_DEVICE_RESULT_SUCCESS
);