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> |
| 9 #include <stdint.h> |
| 10 |
8 #include <map> | 11 #include <map> |
9 #include <tuple> | 12 #include <tuple> |
10 #include <vector> | 13 #include <vector> |
11 | 14 |
12 #include "base/macros.h" | 15 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
16 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
17 #include "base/time/default_tick_clock.h" | 20 #include "base/time/default_tick_clock.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // NOTE: Weak pointers must be invalidated before all other member variables. | 231 // NOTE: Weak pointers must be invalidated before all other member variables. |
229 base::WeakPtrFactory<PacedSender> weak_factory_; | 232 base::WeakPtrFactory<PacedSender> weak_factory_; |
230 | 233 |
231 DISALLOW_COPY_AND_ASSIGN(PacedSender); | 234 DISALLOW_COPY_AND_ASSIGN(PacedSender); |
232 }; | 235 }; |
233 | 236 |
234 } // namespace cast | 237 } // namespace cast |
235 } // namespace media | 238 } // namespace media |
236 | 239 |
237 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ | 240 #endif // MEDIA_CAST_NET_PACING_PACED_SENDER_H_ |
OLD | NEW |