| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ | 5 #ifndef MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ |
| 6 #define MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ | 6 #define MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/unguessable_token.h" |
| 10 #include "media/base/android_overlay_config.h" | 11 #include "media/base/android_overlay_config.h" |
| 11 | 12 |
| 12 namespace media { | 13 namespace media { |
| 13 | 14 |
| 14 // Note that this compiles on non-android too. | 15 // Note that this compiles on non-android too. |
| 15 using AndroidOverlayMojoFactoryCB = base::RepeatingCallback<std::unique_ptr< | 16 using AndroidOverlayMojoFactoryCB = base::RepeatingCallback<std::unique_ptr< |
| 16 AndroidOverlay>(base::UnguessableToken&, const AndroidOverlayConfig&)> | 17 AndroidOverlay>(const base::UnguessableToken&, AndroidOverlayConfig)>; |
| 17 | 18 |
| 18 } // namespace media | 19 } // namespace media |
| 19 | 20 |
| 20 #endif // MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ | 21 #endif // MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_ |
| OLD | NEW |