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

Side by Side Diff: chrome/renderer/media/cast_session_delegate.h

Issue 174183003: Cast:Transport: Dividing A/V Initialization pipeline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing errors and yet another rebase Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/linked_ptr.h" 12 #include "base/memory/linked_ptr.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h"
14 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
15 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
16 #include "base/time/default_tick_clock.h" 17 #include "base/time/default_tick_clock.h"
17 #include "media/cast/cast_config.h" 18 #include "media/cast/cast_config.h"
18 #include "media/cast/cast_sender.h" 19 #include "media/cast/cast_sender.h"
19 20
20 namespace base { 21 namespace base {
21 class MessageLoopProxy; 22 class MessageLoopProxy;
22 } // namespace base 23 } // namespace base
23 24
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 95
95 net::IPEndPoint local_endpoint_; 96 net::IPEndPoint local_endpoint_;
96 net::IPEndPoint remote_endpoint_; 97 net::IPEndPoint remote_endpoint_;
97 bool transport_configured_; 98 bool transport_configured_;
98 99
99 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_; 100 scoped_ptr<media::cast::EncodingEventSubscriber> audio_event_subscriber_;
100 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_; 101 scoped_ptr<media::cast::EncodingEventSubscriber> video_event_subscriber_;
101 102
102 // Proxy to the IO message loop. 103 // Proxy to the IO message loop.
103 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 104 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
105 base::WeakPtrFactory<CastSessionDelegate> weak_factory_;
104 106
105 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); 107 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate);
106 }; 108 };
107 109
108 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 110 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698