| 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 <stdint.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 12 #include "media/cast/cast_config.h" | 14 #include "media/cast/cast_config.h" |
| 13 #include "media/cast/cast_environment.h" | 15 #include "media/cast/cast_environment.h" |
| 14 #include "media/cast/constants.h" | 16 #include "media/cast/constants.h" |
| 15 #include "media/cast/sender/video_encoder.h" | 17 #include "media/cast/sender/video_encoder.h" |
| 16 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
| 17 | 19 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // NOTE: Weak pointers must be invalidated before all other member variables. | 112 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 111 base::WeakPtrFactory<SizeAdaptableVideoEncoderBase> weak_factory_; | 113 base::WeakPtrFactory<SizeAdaptableVideoEncoderBase> weak_factory_; |
| 112 | 114 |
| 113 DISALLOW_COPY_AND_ASSIGN(SizeAdaptableVideoEncoderBase); | 115 DISALLOW_COPY_AND_ASSIGN(SizeAdaptableVideoEncoderBase); |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace cast | 118 } // namespace cast |
| 117 } // namespace media | 119 } // namespace media |
| 118 | 120 |
| 119 #endif // MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ | 121 #endif // MEDIA_CAST_SENDER_SIZE_ADAPTABLE_VIDEO_ENCODER_BASE_H_ |
| OLD | NEW |