#ifndef CHROME_RENDERER_MEDIA_CAST_THREADS_H_
#define CHROME_RENDERER_MEDIA_CAST_THREADS_H_
#include "base/lazy_instance.h"
#include "base/threading/thread.h"
class CastThreads {
public:
scoped_refptr<base::SingleThreadTaskRunner>
GetAudioEncodeMessageLoopProxy();
scoped_refptr<base::SingleThreadTaskRunner>
GetVideoEncodeMessageLoopProxy();
private:
friend struct base::DefaultLazyInstanceTraits<CastThreads>;
CastThreads();
base::Thread audio_encode_thread_;
base::Thread video_encode_thread_;
DISALLOW_COPY_AND_ASSIGN(CastThreads);
};
#endif