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

Side by Side Diff: media/audio/audio_thread.h

Issue 1806313003: Pass task runners to AudioManager constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass task runners into AudioManager::Create 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
DaleCurtis 2016/03/18 17:48:19 What is this class getting us? It seems to be pret
alokp 2016/03/18 18:40:07 It lazily creates the thread. See AudioThread::Get
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 MEDIA_AUDIO_AUDIO_THREAD_H_
6 #define MEDIA_AUDIO_AUDIO_THREAD_H_
7
8 #include "base/macros.h"
9 #include "base/threading/thread.h"
10
11 namespace media {
12
13 class AudioThread {
14 public:
15 AudioThread();
16 static base::Thread* Get();
17
18 private:
19 base::Thread thread_;
20 DISALLOW_COPY_AND_ASSIGN(AudioThread);
21 };
22
23 } // namespace media
24
25 #endif // MEDIA_AUDIO_AUDIO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698