| OLD | NEW |
| (Empty) |
| 1 // Copyright 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. | |
| 4 | |
| 5 #ifndef AudioOutputDeviceClientImpl_h | |
| 6 #define AudioOutputDeviceClientImpl_h | |
| 7 | |
| 8 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" | |
| 9 #include "platform/heap/Handle.h" | |
| 10 #include <memory> | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class AudioOutputDeviceClientImpl | |
| 15 : public GarbageCollectedFinalized<AudioOutputDeviceClientImpl>, | |
| 16 public AudioOutputDeviceClient { | |
| 17 USING_GARBAGE_COLLECTED_MIXIN(AudioOutputDeviceClientImpl); | |
| 18 WTF_MAKE_NONCOPYABLE(AudioOutputDeviceClientImpl); | |
| 19 | |
| 20 public: | |
| 21 explicit AudioOutputDeviceClientImpl(LocalFrame&); | |
| 22 | |
| 23 ~AudioOutputDeviceClientImpl() override; | |
| 24 | |
| 25 // AudioOutputDeviceClient implementation. | |
| 26 void CheckIfAudioSinkExistsAndIsAuthorized( | |
| 27 ExecutionContext*, | |
| 28 const WebString& sink_id, | |
| 29 std::unique_ptr<WebSetSinkIdCallbacks>) override; | |
| 30 | |
| 31 // GarbageCollectedFinalized implementation. | |
| 32 DEFINE_INLINE_VIRTUAL_TRACE() { AudioOutputDeviceClient::Trace(visitor); } | |
| 33 | |
| 34 private: | |
| 35 AudioOutputDeviceClientImpl(); | |
| 36 }; | |
| 37 | |
| 38 } // namespace blink | |
| 39 | |
| 40 #endif // AudioOutputDeviceClientImpl_h | |
| OLD | NEW |