| 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_NET_PACING_PACED_SENDER_H_ | 5 #ifndef MEDIA_CAST_NET_PACING_PACED_SENDER_H_ |
| 6 #define MEDIA_CAST_NET_PACING_PACED_SENDER_H_ | 6 #define MEDIA_CAST_NET_PACING_PACED_SENDER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <memory> |
| 12 #include <tuple> | 13 #include <tuple> |
| 13 #include <vector> | 14 #include <vector> |
| 14 | 15 |
| 15 #include "base/macros.h" | 16 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" | |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "base/time/default_tick_clock.h" | 20 #include "base/time/default_tick_clock.h" |
| 21 #include "base/time/tick_clock.h" | 21 #include "base/time/tick_clock.h" |
| 22 #include "base/time/time.h" | 22 #include "base/time/time.h" |
| 23 #include "media/cast/logging/logging_defines.h" | 23 #include "media/cast/logging/logging_defines.h" |
| 24 #include "media/cast/net/cast_transport_config.h" | 24 #include "media/cast/net/cast_transport_config.h" |
| 25 | 25 |
| 26 namespace media { | 26 namespace media { |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // NOTE: Weak pointers must be invalidated before all other member variables. | 250 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 251 base::WeakPtrFactory<PacedSender> weak_factory_; | 251 base::WeakPtrFactory<PacedSender> weak_factory_; |
| 252 | 252 |
| 253 DISALLOW_COPY_AND_ASSIGN(PacedSender); | 253 DISALLOW_COPY_AND_ASSIGN(PacedSender); |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace cast | 256 } // namespace cast |
| 257 } // namespace media | 257 } // namespace media |
| 258 | 258 |
| 259 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ | 259 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ |
| OLD | NEW |