OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ | 5 #ifndef MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ |
6 #define MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ | 6 #define MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_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/cast/cast_config.h" | 12 #include "media/cast/cast_config.h" |
12 #include "media/cast/cast_environment.h" | 13 #include "media/cast/cast_environment.h" |
13 #include "media/cast/constants.h" | 14 #include "media/cast/constants.h" |
14 #include "media/cast/sender/video_encoder.h" | 15 #include "media/cast/sender/video_encoder.h" |
15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
16 | 17 |
17 namespace media { | 18 namespace media { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // NOTE: Weak pointers must be invalidated before all other member variables. | 110 // NOTE: Weak pointers must be invalidated before all other member variables. |
110 base::WeakPtrFactory<SizeAdaptableVideoEncoderBase> weak_factory_; | 111 base::WeakPtrFactory<SizeAdaptableVideoEncoderBase> weak_factory_; |
111 | 112 |
112 DISALLOW_COPY_AND_ASSIGN(SizeAdaptableVideoEncoderBase); | 113 DISALLOW_COPY_AND_ASSIGN(SizeAdaptableVideoEncoderBase); |
113 }; | 114 }; |
114 | 115 |
115 } // namespace cast | 116 } // namespace cast |
116 } // namespace media | 117 } // namespace media |
117 | 118 |
118 #endif // MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ | 119 #endif // MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ |
OLD | NEW |