Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: media/base/overlay_info.h

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: merged HaveOverlayInfo and SendOverlayInfo Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698