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

Unified Diff: chromecast/media/base/media_message_loop.h

Issue 1916973004: [chromecast] Delete MediaMessageLoop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cmathread -> castmediathread Created 4 years, 8 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/media/base/BUILD.gn ('k') | chromecast/media/base/media_message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/media_message_loop.h
diff --git a/chromecast/media/base/media_message_loop.h b/chromecast/media/base/media_message_loop.h
deleted file mode 100644
index a36853a4ee6708360b576208d1a9d0fd19161e3c..0000000000000000000000000000000000000000
--- a/chromecast/media/base/media_message_loop.h
+++ /dev/null
@@ -1,44 +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.
-
-#ifndef CHROMECAST_MEDIA_BASE_MEDIA_MESSAGE_LOOP_H_
-#define CHROMECAST_MEDIA_BASE_MEDIA_MESSAGE_LOOP_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/singleton.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-class Thread;
-}
-
-namespace chromecast {
-namespace media {
-
-// DEPRECATED: This is being deprecated.
-// Get the media task runner from CastContentBrowserClient::GetMediaTaskRunner.
-class MediaMessageLoop {
- public:
- static scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner();
-
- static MediaMessageLoop* GetInstance();
-
- private:
- friend struct base::DefaultSingletonTraits<MediaMessageLoop>;
-
- MediaMessageLoop();
- ~MediaMessageLoop();
-
- std::unique_ptr<base::Thread> thread_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaMessageLoop);
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_MEDIA_BASE_MEDIA_MESSAGE_LOOP_H_
« no previous file with comments | « chromecast/media/base/BUILD.gn ('k') | chromecast/media/base/media_message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698