#include "components/services/patch/content/patch_service.h"
#include "components/services/patch/public/mojom/file_patcher.mojom.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/service_process_host.h"
namespace patch {
mojo::PendingRemote<mojom::FilePatcher> LaunchFilePatcher() {
mojo::PendingRemote<mojom::FilePatcher> remote;
content::ServiceProcessHost::Launch<mojom::FilePatcher>(
remote.InitWithNewPipeAndPassReceiver(),
content::ServiceProcessHost::Options()
.WithDisplayName(IDS_PATCH_SERVICE_DISPLAY_NAME)
.Pass());
return remote;
}
}