diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 20:31:13 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 20:31:13 +0000 |
commit | a015f9d29bdf73788a620fee73120022b7fa4a71 (patch) | |
tree | 257b21aa7af125b6f6dc815a247ba59e850b8197 /chrome/browser/jumplist_win.cc | |
parent | cf299bca597ce630d636a81dbd8421db9a0b5f9b (diff) | |
download | chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.zip chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.tar.gz chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.tar.bz2 |
CommandLine: remove three useless functions.
PrefixedSwitchString was full of encoding conversions, but there was only one
real caller, and the function is trivial.
Terminate is leftover cruft.
TEST=compiles
Review URL: http://codereview.chromium.org/3138001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jumplist_win.cc')
-rw-r--r-- | chrome/browser/jumplist_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/jumplist_win.cc b/chrome/browser/jumplist_win.cc index baf6938..43b7bfe 100644 --- a/chrome/browser/jumplist_win.cc +++ b/chrome/browser/jumplist_win.cc @@ -359,7 +359,7 @@ HRESULT UpdateTaskCategory(ScopedComPtr<ICustomDestinationList> list, // this item. scoped_refptr<ShellLinkItem> incognito(new ShellLinkItem); incognito->SetArguments( - CommandLine::PrefixedSwitchString(switches::kIncognito)); + ASCIIToWide(std::string("--") + switches::kIncognito)); std::wstring incognito_title(l10n_util::GetString(IDS_NEW_INCOGNITO_WINDOW)); ReplaceSubstringsAfterOffset(&incognito_title, 0, L"&", L""); incognito->SetTitle(incognito_title); |