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

Side by Side Diff: chromecast/browser/media/cma_message_loop.h

Issue 823923002: [Chromecast] Add IPC code on brower process side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved.
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 CHROMECAST_BROWSER_MEDIA_CMA_MESSAGE_LOOP_H_
6 #define CHROMECAST_BROWSER_MEDIA_CMA_MESSAGE_LOOP_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h"
11
12 namespace base {
13 class MessageLoopProxy;
14 class Thread;
15 }
16
17 namespace chromecast {
18 namespace media {
19
20 class CmaMessageLoop {
21 public:
22 static scoped_refptr<base::MessageLoopProxy> GetMessageLoopProxy();
23
24 private:
25 friend struct DefaultSingletonTraits<CmaMessageLoop>;
26 friend class Singleton<CmaMessageLoop>;
27
28 static CmaMessageLoop* GetInstance();
29
30 CmaMessageLoop();
31 ~CmaMessageLoop();
32
33 scoped_ptr<base::Thread> thread_;
34
35 DISALLOW_COPY_AND_ASSIGN(CmaMessageLoop);
36 };
37
38 } // namespace media
39 } // namespace chromecast
40
41 #endif // CHROMECAST_BROWSER_MEDIA_CMA_MESSAGE_LOOP_H_
OLDNEW
« no previous file with comments | « chromecast/browser/media/cma_message_filter_host.cc ('k') | chromecast/browser/media/cma_message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698