#ifndef CHROME_BROWSER_APPS_APP_SERVICE_LAUNCH_RESULT_TYPE_H_
#define CHROME_BROWSER_APPS_APP_SERVICE_LAUNCH_RESULT_TYPE_H_
#include <vector>
#include "base/functional/callback_forward.h"
#include "base/unguessable_token.h"
#include "build/build_config.h"
#if BUILDFLAG(IS_CHROMEOS)
#include "chromeos/crosapi/mojom/app_service_types.mojom-forward.h"
#endif
namespace apps {
struct LaunchResult { … };
LaunchCallback;
State;
#if BUILDFLAG(IS_CHROMEOS)
LaunchResult ConvertMojomLaunchResultToLaunchResult(
crosapi::mojom::LaunchResultPtr mojom_launch_result);
base::OnceCallback<void(crosapi::mojom::LaunchResultPtr)>
LaunchResultToMojomLaunchResultCallback(LaunchCallback callback);
crosapi::mojom::LaunchResultPtr ConvertLaunchResultToMojomLaunchResult(
LaunchResult&&);
LaunchCallback MojomLaunchResultToLaunchResultCallback(
base::OnceCallback<void(crosapi::mojom::LaunchResultPtr)> callback);
#endif
LaunchResult ConvertBoolToLaunchResult(bool success);
bool ConvertLaunchResultToBool(const LaunchResult& result);
}
#endif