blob: 5657bc2a49fb208db88447b719c2c77f1b15b3e7 [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 IOS_WEB_PUBLIC_APP_THREAD_POOL_INIT_PARAMS_CALLBACK_H_
#define IOS_WEB_PUBLIC_APP_THREAD_POOL_INIT_PARAMS_CALLBACK_H_
#include "base/callback_forward.h"
#include "base/task/thread_pool/thread_pool.h"
namespace web {
// Callback which returns a pointer to InitParams for base::ThreadPool.
typedef base::OnceCallback<std::unique_ptr<base::ThreadPool::InitParams>()>
ThreadPoolInitParamsCallback;
} // namespace web
#endif // IOS_WEB_PUBLIC_APP_THREAD_POOL_INIT_PARAMS_CALLBACK_H_