| Index: chromecast/media/base/media_message_loop.cc
|
| diff --git a/chromecast/media/base/media_message_loop.cc b/chromecast/media/base/media_message_loop.cc
|
| deleted file mode 100644
|
| index d8023179c024b494ba17a1c63ca1bed417234536..0000000000000000000000000000000000000000
|
| --- a/chromecast/media/base/media_message_loop.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chromecast/media/base/media_message_loop.h"
|
| -
|
| -#include "base/threading/thread.h"
|
| -
|
| -namespace chromecast {
|
| -namespace media {
|
| -
|
| -// static
|
| -scoped_refptr<base::SingleThreadTaskRunner> MediaMessageLoop::GetTaskRunner() {
|
| - return GetInstance()->thread_->task_runner();
|
| -}
|
| -
|
| -// static
|
| -MediaMessageLoop* MediaMessageLoop::GetInstance() {
|
| - return base::Singleton<MediaMessageLoop>::get();
|
| -}
|
| -
|
| -MediaMessageLoop::MediaMessageLoop()
|
| - : thread_(new base::Thread("CmaThread")) {
|
| - thread_->Start();
|
| -}
|
| -
|
| -MediaMessageLoop::~MediaMessageLoop() {
|
| - // This will automatically shutdown the thread.
|
| -}
|
| -
|
| -} // namespace media
|
| -} // namespace chromecast
|
|
|