Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(934)

Unified Diff: media/base/fake_output_device.h

Issue 1809093003: Moving SwitchOutputDevice out of OutputDevice interface, eliminating OutputDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/fake_audio_renderer_sink.cc ('k') | media/base/fake_output_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_output_device.h
diff --git a/media/base/fake_output_device.h b/media/base/fake_output_device.h
deleted file mode 100644
index 45a6abb7cfdfd20adae2dc7a59d99a88d11c8c45..0000000000000000000000000000000000000000
--- a/media/base/fake_output_device.h
+++ /dev/null
@@ -1,35 +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.
-
-#ifndef MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
-#define MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "media/base/output_device.h"
-
-namespace media {
-
-class FakeOutputDevice : public OutputDevice {
- public:
- FakeOutputDevice();
- explicit FakeOutputDevice(OutputDeviceStatus status);
- ~FakeOutputDevice() override;
-
- // OutputDevice implementation.
- void SwitchOutputDevice(const std::string& device_id,
- const url::Origin& security_origin,
- const SwitchOutputDeviceCB& callback) override;
- AudioParameters GetOutputParameters() override;
- OutputDeviceStatus GetDeviceStatus() override;
-
- private:
- OutputDeviceStatus device_status_;
- DISALLOW_COPY_AND_ASSIGN(FakeOutputDevice);
-};
-
-} // namespace media
-
-#endif // MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
« no previous file with comments | « media/base/fake_audio_renderer_sink.cc ('k') | media/base/fake_output_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698