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 <memory> |
13 #include <tuple> | 13 #include <tuple> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.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" | |
20 #include "base/time/default_tick_clock.h" | 19 #include "base/time/default_tick_clock.h" |
21 #include "base/time/tick_clock.h" | 20 #include "base/time/tick_clock.h" |
22 #include "base/time/time.h" | 21 #include "base/time/time.h" |
23 #include "media/cast/logging/logging_defines.h" | 22 #include "media/cast/logging/logging_defines.h" |
24 #include "media/cast/net/cast_transport_config.h" | 23 #include "media/cast/net/cast_transport_config.h" |
25 | 24 |
26 namespace media { | 25 namespace media { |
27 namespace cast { | 26 namespace cast { |
28 | 27 |
29 // Meant to use as defaults for pacer construction. | 28 // Meant to use as defaults for pacer construction. |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // NOTE: Weak pointers must be invalidated before all other member variables. | 242 // NOTE: Weak pointers must be invalidated before all other member variables. |
244 base::WeakPtrFactory<PacedSender> weak_factory_; | 243 base::WeakPtrFactory<PacedSender> weak_factory_; |
245 | 244 |
246 DISALLOW_COPY_AND_ASSIGN(PacedSender); | 245 DISALLOW_COPY_AND_ASSIGN(PacedSender); |
247 }; | 246 }; |
248 | 247 |
249 } // namespace cast | 248 } // namespace cast |
250 } // namespace media | 249 } // namespace media |
251 | 250 |
252 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ | 251 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ |
OLD | NEW |