1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

media / base / android_overlay_mojo_factory.h [blame]

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_H_
#define MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_H_

#include "base/functional/callback.h"
#include "base/unguessable_token.h"
#include "media/base/android_overlay_config.h"

namespace media {

// Note that this compiles on non-android too.
using AndroidOverlayMojoFactoryCB =
    base::RepeatingCallback<std::unique_ptr<AndroidOverlay>(
        const base::UnguessableToken&,
        AndroidOverlayConfig)>;

}  // namespace media

#endif  // MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_H_