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

Unified Diff: media/base/fake_output_device.h

Issue 1323403005: Allow AudioOutputDevice objects to be initialized with a specific hardware output device and store … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Palmer's comments Created 5 years, 3 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
Index: media/base/fake_output_device.h
diff --git a/media/base/fake_output_device.h b/media/base/fake_output_device.h
index 87d19595c7c68b04031742df6e5b3d402c325e49..1d9129cdda1e4241b764a4221707ded9fdfabebc 100644
--- a/media/base/fake_output_device.h
+++ b/media/base/fake_output_device.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_AUDIO_FAKE_OUTPUT_DEVICE_H_
-#define MEDIA_AUDIO_FAKE_OUTPUT_DEVICE_H_
+#ifndef MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
+#define MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_
#include <string>
@@ -18,8 +18,9 @@ class FakeOutputDevice : public OutputDevice {
// OutputDevice implementation.
void SwitchOutputDevice(const std::string& device_id,
- const GURL& security_origin,
+ const url::Origin& security_origin,
const SwitchOutputDeviceCB& callback) override;
+ AudioParameters GetOutputParameters() override;
private:
DISALLOW_COPY_AND_ASSIGN(FakeOutputDevice);
@@ -27,4 +28,4 @@ class FakeOutputDevice : public OutputDevice {
} // namespace media
-#endif // MEDIA_AUDIO_FAKE_OUTPUT_DEVICE_H_
+#endif // MEDIA_BASE_FAKE_OUTPUT_DEVICE_H_

Powered by Google App Engine
This is Rietveld 408576698