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

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

Issue 2864603002: Provide callback to create mojo AndroidOverlays 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 | « content/gpu/gpu_child_thread.cc ('k') | media/gpu/android_video_decode_accelerator.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_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_
OLDNEW
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | media/gpu/android_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698