| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 MEDIA_CAST_SENDER_VIDEO_SENDER_H_ | 5 #ifndef MEDIA_CAST_SENDER_VIDEO_SENDER_H_ |
| 6 #define MEDIA_CAST_SENDER_VIDEO_SENDER_H_ | 6 #define MEDIA_CAST_SENDER_VIDEO_SENDER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 13 #include "base/time/tick_clock.h" | 14 #include "base/time/tick_clock.h" |
| 14 #include "base/time/time.h" | 15 #include "base/time/time.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 #include "media/cast/sender/congestion_control.h" | 18 #include "media/cast/sender/congestion_control.h" |
| 18 #include "media/cast/sender/frame_sender.h" | 19 #include "media/cast/sender/frame_sender.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // NOTE: Weak pointers must be invalidated before all other member variables. | 113 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 113 base::WeakPtrFactory<VideoSender> weak_factory_; | 114 base::WeakPtrFactory<VideoSender> weak_factory_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(VideoSender); | 116 DISALLOW_COPY_AND_ASSIGN(VideoSender); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace cast | 119 } // namespace cast |
| 119 } // namespace media | 120 } // namespace media |
| 120 | 121 |
| 121 #endif // MEDIA_CAST_SENDER_VIDEO_SENDER_H_ | 122 #endif // MEDIA_CAST_SENDER_VIDEO_SENDER_H_ |
| OLD | NEW |