diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 01:26:19 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-13 01:26:19 +0000 |
commit | c906084ab479315e6cc0b524ce711273e1be5545 (patch) | |
tree | 010b47f9d517ea0ec34444354b98ad8ea9971531 /cloud_print/virtual_driver/win | |
parent | a50d67831333f437b3a81c2f257e51e7b7854e60 (diff) | |
download | chromium_src-c906084ab479315e6cc0b524ce711273e1be5545.zip chromium_src-c906084ab479315e6cc0b524ce711273e1be5545.tar.gz chromium_src-c906084ab479315e6cc0b524ce711273e1be5545.tar.bz2 |
Removes --cloud-print-delete-file.
BUG=350118
Review URL: https://codereview.chromium.org/196863002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/virtual_driver/win')
-rw-r--r-- | cloud_print/virtual_driver/win/port_monitor/port_monitor.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc index a905be1..bfd7bdc 100644 --- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc +++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc @@ -213,17 +213,12 @@ bool LaunchPrintDialog(const base::FilePath& xps_path, CommandLine command_line(chrome_path); base::FilePath chrome_profile = GetChromeProfilePath(); - if (!chrome_profile.empty()) { + if (!chrome_profile.empty()) command_line.AppendSwitchPath(switches::kUserDataDir, chrome_profile); - } - command_line.AppendSwitchPath(switches::kCloudPrintFile, - xps_path); - command_line.AppendSwitchNative(switches::kCloudPrintFileType, - kXpsMimeType); - command_line.AppendSwitchNative(switches::kCloudPrintJobTitle, - job_title); - command_line.AppendSwitch(switches::kCloudPrintDeleteFile); + command_line.AppendSwitchPath(switches::kCloudPrintFile, xps_path); + command_line.AppendSwitchNative(switches::kCloudPrintFileType, kXpsMimeType); + command_line.AppendSwitchNative(switches::kCloudPrintJobTitle, job_title); base::LaunchOptions options; options.as_user = primary_token_scoped; base::LaunchProcess(command_line, options, NULL); |