| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |