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

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

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: rebased 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
« no previous file with comments | « media/base/renderer_factory_selector_unittest.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ROUTING_TOKEN_CALLBACK_H_ 5 #ifndef MEDIA_BASE_ROUTING_TOKEN_CALLBACK_H_
6 #define MEDIA_BASE_ROUTING_TOKEN_CALLBACK_H_ 6 #define MEDIA_BASE_ROUTING_TOKEN_CALLBACK_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/unguessable_token.h" 9 #include "base/unguessable_token.h"
10 10
11 namespace media { 11 namespace media {
12 12
13 // Handy callback type to provide a routing token. 13 // Handy callback type to provide a routing token.
14 using RoutingTokenCallback = 14 using RoutingTokenCallback =
15 base::Callback<void(const base::UnguessableToken&)>; 15 base::Callback<void(const base::UnguessableToken&)>;
16 16
17 // Callback to register a RoutingTokenCallback with something that can provide
18 // it. For example, RenderFrame(Impl) will provide this, while WMPI can choose
19 // to call it if it would like to be called back with a routing token.
20 using RequestRoutingTokenCallback = base::Callback<void(RoutingTokenCallback)>;
21
17 } // namespace media 22 } // namespace media
18 23
19 #endif // MEDIA_BASE_ANDROID_ROUTING_TOKEN_CALLBACK_H_ 24 #endif // MEDIA_BASE_ANDROID_ROUTING_TOKEN_CALLBACK_H_
OLDNEW
« no previous file with comments | « media/base/renderer_factory_selector_unittest.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698