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

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: Responding to review Created 6 years, 10 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h"
12 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
13 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
14 #include "base/time/default_tick_clock.h" 15 #include "base/time/default_tick_clock.h"
15 #include "media/cast/cast_config.h" 16 #include "media/cast/cast_config.h"
16 #include "media/cast/cast_sender.h" 17 #include "media/cast/cast_sender.h"
17 18
18 namespace base { 19 namespace base {
19 class MessageLoopProxy; 20 class MessageLoopProxy;
20 } // namespace base 21 } // namespace base
21 22
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 FrameInputAvailableCallback audio_frame_input_available_callback_; 93 FrameInputAvailableCallback audio_frame_input_available_callback_;
93 FrameInputAvailableCallback video_frame_input_available_callback_; 94 FrameInputAvailableCallback video_frame_input_available_callback_;
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 // Proxy to the IO message loop. 100 // Proxy to the IO message loop.
100 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 101 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
102 base::WeakPtrFactory<CastSessionDelegate> weak_factory_;
101 103
102 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); 104 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate);
103 }; 105 };
104 106
105 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ 107 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698