| Index: media/audio/audio_device_thread.h
|
| diff --git a/media/audio/audio_device_thread.h b/media/audio/audio_device_thread.h
|
| index f3287ef39ccf86705642dc5439f7b13860737f1d..10ce8027d64e5c635be14a9e66a22aff66b3d8a5 100644
|
| --- a/media/audio/audio_device_thread.h
|
| +++ b/media/audio/audio_device_thread.h
|
| @@ -7,14 +7,19 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "base/memory/shared_memory.h"
|
| #include "base/sync_socket.h"
|
| -#include "base/threading/platform_thread.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "media/base/audio_parameters.h"
|
| #include "media/base/media_export.h"
|
|
|
| +namespace base {
|
| +class Thread;
|
| +}
|
| +
|
| namespace media {
|
|
|
| // Data transfer between browser and render process uses a combination
|
| @@ -79,9 +84,8 @@ class MEDIA_EXPORT AudioDeviceThread : public base::PlatformThread::Delegate {
|
| void ThreadMain() final;
|
|
|
| Callback* const callback_;
|
| - const char* thread_name_;
|
| base::CancelableSyncSocket socket_;
|
| - base::PlatformThreadHandle thread_handle_;
|
| + std::unique_ptr<base::Thread> thread_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread);
|
| };
|
|
|