Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3278)

Unified Diff: chrome/browser/ui/extensions/application_launch.cc

Issue 720633003: Revert of CL 722703002 due to build breakage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « chrome/browser/ui/extensions/app_launch_params.cc ('k') | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698