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

Unified Diff: chromecast/browser/media/cma_message_loop.cc

Issue 1224923003: Move and rename CmaMessageLoop to chromecast/media/base/MediaMessageLoop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to MediaMessageLoop Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/browser/media/cma_message_loop.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/cma_message_loop.cc
diff --git a/chromecast/browser/media/cma_message_loop.cc b/chromecast/browser/media/cma_message_loop.cc
deleted file mode 100644
index cee8e394176e4be6d1470c0488d6b8011aede09a..0000000000000000000000000000000000000000
--- a/chromecast/browser/media/cma_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/browser/media/cma_message_loop.h"
-
-#include "base/threading/thread.h"
-
-namespace chromecast {
-namespace media {
-
-// static
-scoped_refptr<base::SingleThreadTaskRunner> CmaMessageLoop::GetTaskRunner() {
- return GetInstance()->thread_->task_runner();
-}
-
-// static
-CmaMessageLoop* CmaMessageLoop::GetInstance() {
- return Singleton<CmaMessageLoop>::get();
-}
-
-CmaMessageLoop::CmaMessageLoop()
- : thread_(new base::Thread("CmaThread")) {
- thread_->Start();
-}
-
-CmaMessageLoop::~CmaMessageLoop() {
- // This will automatically shutdown the thread.
-}
-
-} // namespace media
-} // namespace chromecast
« no previous file with comments | « chromecast/browser/media/cma_message_loop.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698