| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_BASE_ANDROID_ANDROID_OVERLAY_FACTORY_H_ | |
| 6 #define MEDIA_BASE_ANDROID_ANDROID_OVERLAY_FACTORY_H_ | |
| 7 | |
| 8 #include "media/base/android/android_overlay.h" | |
| 9 | |
| 10 namespace media { | |
| 11 | |
| 12 // Base class for overlay factories. | |
| 13 class AndroidOverlayFactory { | |
| 14 public: | |
| 15 virtual ~AndroidOverlayFactory() {} | |
| 16 | |
| 17 virtual std::unique_ptr<AndroidOverlay> CreateOverlay( | |
| 18 const AndroidOverlay::Config& config) = 0; | |
| 19 | |
| 20 protected: | |
| 21 AndroidOverlayFactory() {} | |
| 22 | |
| 23 DISALLOW_COPY_AND_ASSIGN(AndroidOverlayFactory); | |
| 24 }; | |
| 25 | |
| 26 } // namespace media | |
| 27 | |
| 28 #endif // MEDIA_BASE_ANDROID_ANDROID_OVERLAY_FACTORY_H_ | |
| OLD | NEW |