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

Unified Diff: chrome/browser/shell_integration.cc

Issue 10915079: remove --enable-experimental-extension-apis from packaged app shortcut args (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months 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/shell_integration.cc
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
index 519ded75981c94d38c084cab4854cab37b4f67cf..11cf69e8e020d44b612b84bbc7fd7fd4a90dc2ab 100644
--- a/chrome/browser/shell_integration.cc
+++ b/chrome/browser/shell_integration.cc
@@ -55,7 +55,6 @@ bool ShellIntegration::IsRunningInAppMode() {
CommandLine ShellIntegration::CommandLineArgsForLauncher(
const GURL& url,
const std::string& extension_app_id,
- bool is_platform_app,
const FilePath& profile_path) {
const CommandLine& cmd_line = *CommandLine::ForCurrentProcess();
CommandLine new_cmd_line(CommandLine::NO_PROGRAM);
@@ -85,8 +84,6 @@ CommandLine ShellIntegration::CommandLineArgsForLauncher(
// during launch.
if (!extension_app_id.empty()) {
new_cmd_line.AppendSwitchASCII(switches::kAppId, extension_app_id);
- if (is_platform_app)
- new_cmd_line.AppendSwitch(switches::kEnableExperimentalExtensionApis);
} else {
// Use '--app=url' instead of just 'url' to launch the browser with minimal
// chrome.

Powered by Google App Engine
This is Rietveld 408576698