Index: content/browser/renderer_host/media/audio_renderer_host.h |
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h |
index 740225affe7397506afbf26a96458b2035f2b050..3590111af2d9343cccf11dd0d8f75896d01a3cc7 100644 |
--- a/content/browser/renderer_host/media/audio_renderer_host.h |
+++ b/content/browser/renderer_host/media/audio_renderer_host.h |
@@ -103,10 +103,6 @@ class CONTENT_EXPORT AudioRendererHost |
FRIEND_TEST_ALL_PREFIXES(AudioRendererHostTest, CreateMockStream); |
FRIEND_TEST_ALL_PREFIXES(AudioRendererHostTest, MockStreamDataConversation); |
- // Internal callback type for access requests to output devices. |
- // |have_access| is true only if there is permission to access the device. |
- typedef base::Callback<void(bool have_access)> OutputDeviceAccessCB; |
- |
using AudioOutputDelegateVector = |
std::vector<std::unique_ptr<media::AudioOutputDelegate>>; |
@@ -116,7 +112,7 @@ class CONTENT_EXPORT AudioRendererHost |
using ValidateRenderFrameIdFunction = |
void (*)(int render_process_id, |
int render_frame_id, |
- const base::Callback<void(bool)>& callback); |
+ base::OnceCallback<void(bool)> callback); |
~AudioRendererHost() override; |