Commit a6fb941e authored by Nicholas Verne's avatar Nicholas Verne Committed by Commit Bot

AppLaunchParams changed namespace.

One usage in CHROMEOS was missed in
https://chromium-review.googlesource.com/c/chromium/src/+/1829625

TBR=tapted@chromium.org

Bug: 1003602
Change-Id: I8d43dd6c92023482c5b0ddc92e3fb058bc3a0265
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833009
Commit-Queue: Nicholas Verne <nverne@chromium.org>
Auto-Submit: Nicholas Verne <nverne@chromium.org>
Reviewed-by: default avatarEric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701427}
parent b26cb15a
......@@ -140,7 +140,7 @@ void LaunchReleaseNotesImpl(Profile* profile) {
chromeos::default_web_apps::kReleaseNotesAppId,
extensions::ExtensionRegistry::EVERYTHING);
if (extension) {
AppLaunchParams params = CreateAppLaunchParamsWithEventFlags(
apps::AppLaunchParams params = CreateAppLaunchParamsWithEventFlags(
profile, extension, 0, apps::mojom::AppLaunchSource::kSourceUntracked,
-1);
params.override_url = GURL(BuildQueryString(profile));
......@@ -184,8 +184,8 @@ void ShowHelpImpl(Browser* browser, Profile* profile, HelpSource source) {
default:
NOTREACHED() << "Unhandled help source" << source;
}
apps::LaunchService::Get(profile)->OpenApplication(AppLaunchParams(
profile, extension_misc::kGeniusAppId,
apps::LaunchService::Get(profile)->OpenApplication(apps::AppLaunchParams(
extension_misc::kGeniusAppId,
extensions::GetLaunchContainer(extensions::ExtensionPrefs::Get(profile),
extension),
WindowOpenDisposition::NEW_FOREGROUND_TAB, app_launch_source, true));
......
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