summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration.cc
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 14:58:14 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 14:58:14 +0000
commit2f1c09dae70520ee65dab0d064c396649e8b0fd2 (patch)
treee20aa45b4c8de6d21972e8c4083c921210f90490 /chrome/browser/shell_integration.cc
parent29407d3b243e8fe141669aebd7b39759bac0d369 (diff)
downloadchromium_src-2f1c09dae70520ee65dab0d064c396649e8b0fd2.zip
chromium_src-2f1c09dae70520ee65dab0d064c396649e8b0fd2.tar.gz
chromium_src-2f1c09dae70520ee65dab0d064c396649e8b0fd2.tar.bz2
Set Browser::app_name_ in a reasonable way for extension apps.
BUG=67702 TEST=BrowserTest.OpenAppWindowLikeNtp,BrowserTest.AppIdSwitch,manually open a few apps and see that windows taskbar hilights the right window. Review URL: http://codereview.chromium.org/6086004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration.cc')
-rw-r--r--chrome/browser/shell_integration.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
index 4b6b2a5d..9227c56 100644
--- a/chrome/browser/shell_integration.cc
+++ b/chrome/browser/shell_integration.cc
@@ -21,7 +21,8 @@ ShellIntegration::ShortcutInfo::ShortcutInfo()
ShellIntegration::ShortcutInfo::~ShortcutInfo() {}
-std::string ShellIntegration::GetCommandLineArgumentsCommon(const GURL& url,
+std::string ShellIntegration::GetCommandLineArgumentsCommon(
+ const GURL& url,
const string16& extension_app_id) {
const CommandLine cmd = *CommandLine::ForCurrentProcess();
std::wstring arguments_w;