From 947446bd2c19777f7f20b9b14085dc31cdb73d1a Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Thu, 21 Oct 2010 03:36:31 +0000 Subject: Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM. ARGUMENTS_ONLY was misleading since CommandLine has methods for handling "switches" and "arguments", but that constructor still allows both. BUG=none TEST=still builds Review URL: http://codereview.chromium.org/3935001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63325 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/jumplist_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/jumplist_win.cc') diff --git a/chrome/browser/jumplist_win.cc b/chrome/browser/jumplist_win.cc index 3614b9c..ddea51c 100644 --- a/chrome/browser/jumplist_win.cc +++ b/chrome/browser/jumplist_win.cc @@ -421,7 +421,7 @@ bool UpdateJumpList(const wchar_t* app_id, return false; // Retrieve the command-line switches of this process. - CommandLine command_line(CommandLine::ARGUMENTS_ONLY); + CommandLine command_line(CommandLine::NO_PROGRAM); FilePath user_data_dir = CommandLine::ForCurrentProcess()-> GetSwitchValuePath(switches::kUserDataDir); if (!user_data_dir.empty()) -- cgit v1.1