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