chromium/content/utility/utility_thread_impl.h

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

#ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
#define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_

#include <memory>

#include "base/functional/callback.h"
#include "base/process/current_process.h"
#include "base/strings/pattern.h"
#include "build/build_config.h"
#include "content/child/child_thread_impl.h"
#include "content/public/utility/utility_thread.h"
#include "mojo/public/cpp/bindings/generic_pending_receiver.h"
#include "third_party/blink/public/platform/platform.h"

namespace mojo {
class ServiceFactory;
}

namespace content {

// This class represents the background thread where the utility task runs.
class UtilityThreadImpl : public UtilityThread,
                          public ChildThreadImpl {};

CurrentProcessType;

struct ServiceCurrentProcessType {};

CurrentProcessType GetCurrentProcessType(const std::string& name);

}  // namespace content

#endif  // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_