Commit ea0c38ec authored by Glen Robertson's avatar Glen Robertson Committed by Commit Bot

Fix up base::DoNothing to cleaner format.

Change-Id: I055135607864517abb3a46c8976ccf025344444c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992959
Commit-Queue: Glen Robertson <glenrob@chromium.org>
Reviewed-by: default avatarAlexey Baskakov <loyso@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730002}
parent 23935862
......@@ -93,11 +93,12 @@ void CreateWebAppFromCurrentWebContents(Browser* browser,
WebappInstallSource install_source =
InstallableMetrics::GetInstallSource(web_contents, InstallTrigger::MENU);
WebAppInstalledCallback callback = base::DoNothing();
provider->install_manager().InstallWebAppFromManifestWithFallback(
web_contents, force_shortcut_app, install_source,
base::BindOnce(WebAppInstallDialogCallback, install_source),
base::BindOnce(OnWebAppInstalled,
base::DoNothing::Once<const AppId&, InstallResultCode>()));
base::BindOnce(OnWebAppInstalled, std::move(callback)));
}
bool CreateWebAppFromManifest(content::WebContents* web_contents,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment