#ifndef CHROME_BROWSER_APPS_APP_SERVICE_PACKAGE_ID_UTIL_H_
#define CHROME_BROWSER_APPS_APP_SERVICE_PACKAGE_ID_UTIL_H_
#include <optional>
#include <string>
#include "build/chromeos_buildflags.h"
class Profile;
namespace apps {
class AppUpdate;
class PackageId;
}
namespace apps_util {
#if BUILDFLAG(IS_CHROMEOS_ASH)
std::optional<apps::PackageId> GetPackageIdForApp(
Profile* profile,
const apps::AppUpdate& update);
#endif
std::optional<std::string> GetAppWithPackageId(
Profile* profile,
const apps::PackageId& package_id);
}
#endif