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_TEST_IN_PROCESS_RECEIVER_H_ | 5 #ifndef MEDIA_CAST_TEST_IN_PROCESS_RECEIVER_H_ |
6 #define MEDIA_CAST_TEST_IN_PROCESS_RECEIVER_H_ | 6 #define MEDIA_CAST_TEST_IN_PROCESS_RECEIVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "media/base/audio_bus.h" | 12 #include "media/base/audio_bus.h" |
12 #include "media/cast/cast_config.h" | 13 #include "media/cast/cast_config.h" |
13 #include "media/cast/net/cast_transport_config.h" | 14 #include "media/cast/net/cast_transport_config.h" |
14 #include "media/cast/net/cast_transport_sender.h" | 15 #include "media/cast/net/cast_transport_sender.h" |
15 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // NOTE: Weak pointers must be invalidated before all other member variables. | 116 // NOTE: Weak pointers must be invalidated before all other member variables. |
116 base::WeakPtrFactory<InProcessReceiver> weak_factory_; | 117 base::WeakPtrFactory<InProcessReceiver> weak_factory_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(InProcessReceiver); | 119 DISALLOW_COPY_AND_ASSIGN(InProcessReceiver); |
119 }; | 120 }; |
120 | 121 |
121 } // namespace cast | 122 } // namespace cast |
122 } // namespace media | 123 } // namespace media |
123 | 124 |
124 #endif // MEDIA_CAST_TEST_IN_PROCESS_RECEIVER_H_ | 125 #endif // MEDIA_CAST_TEST_IN_PROCESS_RECEIVER_H_ |
OLD | NEW |