Index: chrome/browser/ui/extensions/application_launch.cc |
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc |
index fb6799d650a4211ac5ee1f907162b47df22caa87..af6d0388c4d92c7723e76aa700b1387518746be4 100644 |
--- a/chrome/browser/ui/extensions/application_launch.cc |
+++ b/chrome/browser/ui/extensions/application_launch.cc |
@@ -24,7 +24,6 @@ |
#include "extensions/browser/extension_prefs.h" |
#include "extensions/browser/extension_registry.h" |
#include "extensions/browser/extension_system.h" |
-#include "extensions/common/constants.h" |
#include "extensions/common/extension.h" |
#include "extensions/common/features/feature.h" |
#include "extensions/common/features/feature_provider.h" |
@@ -221,10 +220,11 @@ void OpenApplicationWithReenablePrompt(const AppLaunchParams& params) { |
WebContents* OpenAppShortcutWindow(Profile* profile, |
const GURL& url) { |
- AppLaunchParams launch_params(profile, |
- NULL, // this is a URL app. No extension. |
- extensions::LAUNCH_CONTAINER_WINDOW, NEW_WINDOW, |
- extensions::SOURCE_COMMAND_LINE); |
+ AppLaunchParams launch_params( |
+ profile, |
+ NULL, // this is a URL app. No extension. |
+ extensions::LAUNCH_CONTAINER_WINDOW, |
+ NEW_WINDOW); |
launch_params.override_url = url; |
WebContents* tab = OpenWebAppWindow(launch_params, url); |