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

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: is_platform_app data member on ShortcutInfo no longer required 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
« no previous file with comments | « chrome/browser/shell_integration.h ('k') | chrome/browser/shell_integration_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration.cc
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
index 519ded75981c94d38c084cab4854cab37b4f67cf..08a9684792eb3730b4f55d9ee39f401d013fc05a 100644
--- a/chrome/browser/shell_integration.cc
+++ b/chrome/browser/shell_integration.cc
@@ -26,8 +26,7 @@ ShellIntegration::DefaultWebClientSetPermission
}
ShellIntegration::ShortcutInfo::ShortcutInfo()
- : is_platform_app(false),
- create_on_desktop(false),
+ : create_on_desktop(false),
create_in_applications_menu(false),
create_in_quick_launch_bar(false) {
}
@@ -55,7 +54,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 +83,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.
« no previous file with comments | « chrome/browser/shell_integration.h ('k') | chrome/browser/shell_integration_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698