diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 04:19:22 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 04:19:22 +0000 |
commit | dd5f67e9a6daaaa0911f6558a6566dbc90c536b5 (patch) | |
tree | f5d90ea8cea101def697de15b188ed84263378ad /chrome/browser/shell_integration.h | |
parent | a3dff28866aa4f0eef4544831fd4372f216a9327 (diff) | |
download | chromium_src-dd5f67e9a6daaaa0911f6558a6566dbc90c536b5.zip chromium_src-dd5f67e9a6daaaa0911f6558a6566dbc90c536b5.tar.gz chromium_src-dd5f67e9a6daaaa0911f6558a6566dbc90c536b5.tar.bz2 |
Packaged apps are now enabled by default (and arguments on launcher shortcuts are unlikely to function when chrome is already running), so this extra argument on shortcuts can be dropped.
BUG=146037
TEST=ensure shortcuts for packaged apps are still created (e.g. on desktop), and can execute successfully
Review URL: https://chromiumcodereview.appspot.com/10915079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.h')
-rw-r--r-- | chrome/browser/shell_integration.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h index 9eb9b37..55ddfcf 100644 --- a/chrome/browser/shell_integration.h +++ b/chrome/browser/shell_integration.h @@ -89,9 +89,6 @@ class ShellIntegration { gfx::Image favicon; FilePath profile_path; - // Shortcuts to platform apps are created differently. They start up with - // their own user data directory and load the app from |extension_path|. - bool is_platform_app; bool create_on_desktop; bool create_in_applications_menu; @@ -115,12 +112,10 @@ class ShellIntegration { // The new command line reuses the current process's user data directory (and // login profile, for ChromeOS). // If |extension_app_id| is non-empty, the arguments use kAppId=<id>. - // Otherwise, kApp=<url> is used. If |is_platform_app| is true the flag - // --enable-platform-apps is added to the command line. + // Otherwise, kApp=<url> is used. static CommandLine CommandLineArgsForLauncher( const GURL& url, const std::string& extension_app_id, - bool is_platform_app, const FilePath& profile_path); #if defined(OS_WIN) |