Chromium Code Reviews| 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_OVERLAY_INFORMATION_H_ | |
|
tguilbert
2017/05/12 21:11:11
NIT: s/INFORMATION/INFO
liberato (no reviews please)
2017/05/12 21:42:50
Done.
| |
| 6 #define MEDIA_BASE_OVERLAY_INFORMATION_H_ | |
| 7 | |
| 8 #include "base/callback.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "base/optional.h" | |
| 11 #include "base/unguessable_token.h" | |
| 12 | |
| 13 namespace media { | |
| 14 | |
| 15 // Request information to construct an overlay. This can be either a surface_id | |
| 16 // or an AndroidOverlay routing token. | |
| 17 using ProvideOverlayInfoCB = | |
| 18 base::Callback<void(int, const base::Optional<base::UnguessableToken>&)>; | |
| 19 using RequestOverlayInfoCB = | |
| 20 base::Callback<void(bool, const ProvideOverlayInfoCB&)>; | |
| 21 | |
| 22 } // namespace media | |
| 23 | |
| 24 #endif // MEDIA_BASE_OVERLAY_INFORMATION_H_ | |
| OLD | NEW |