Skip to content

Instantly share code, notes, and snippets.

@t4kemyh4nd
Created October 15, 2023 05:51
Show Gist options
  • Save t4kemyh4nd/731e424a682e38d6d1d78ca99ae4c4c5 to your computer and use it in GitHub Desktop.
Save t4kemyh4nd/731e424a682e38d6d1d78ca99ae4c4c5 to your computer and use it in GitHub Desktop.
void ChromeWebappsClient::InstallWebApk(content::WebContents* web_contents,
const AddToHomescreenParams& params) {
WebApkInstallService::Get(web_contents->GetBrowserContext())
->InstallAsync(web_contents, *(params.shortcut_info), params.primary_icon,
params.install_source);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment