blob: 5457c194fdf793460328efa6aae5f01eecef4955 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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_CB_H_
#define MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_
#include "base/callback.h"
#include "base/macros.h"
#include "base/unguessable_token.h"
#include "media/base/android_overlay_config.h"
namespace service_manager {
class ServiceContextRef;
}
namespace media {
// Note that this compiles on non-android too.
using AndroidOverlayMojoFactoryCB =
base::RepeatingCallback<std::unique_ptr<AndroidOverlay>(
std::unique_ptr<service_manager::ServiceContextRef>,
const base::UnguessableToken&,
AndroidOverlayConfig)>;
} // namespace media
#endif // MEDIA_BASE_ANDROID_OVERLAY_MOJO_FACTORY_CB_H_