summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2015-01-13 17:19:36 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-14 01:21:15 +0000
commite1b07409f19d84853d4730e3ab5b862fd65838d0 (patch)
treef12a7da6dd1f33714b14e11301fc5aed50b8f804 /cloud_print/virtual_driver
parent4b73fadb148e51fdc0abff8ccc42bf33a0dc4efd (diff)
downloadchromium_src-e1b07409f19d84853d4730e3ab5b862fd65838d0.zip
chromium_src-e1b07409f19d84853d4730e3ab5b862fd65838d0.tar.gz
chromium_src-e1b07409f19d84853d4730e3ab5b862fd65838d0.tar.bz2
Refactor chrome_launcher_support::GetAnyChromePath.
Combined GetAnyChromePath and GetChromeSxSPath into one function that takes a bool |is_sxs|. Avoids the need to have a wrapper function that conditionally calls GetAnyChromePath or GetAnyChromeSxsPath. BUG=428600 Review URL: https://codereview.chromium.org/685103004 Cr-Commit-Position: refs/heads/master@{#311384}
Diffstat (limited to 'cloud_print/virtual_driver')
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor.cc2
1 files changed, 1 insertions, 1 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 a403af4..3e7b5ba 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -308,7 +308,7 @@ base::FilePath GetChromeExePath() {
base::FilePath path = ReadPathFromAnyRegistry(kChromeExePathRegValue);
if (!path.empty())
return path;
- return chrome_launcher_support::GetAnyChromePath();
+ return chrome_launcher_support::GetAnyChromePath(false /* is_sxs */);
}
base::FilePath GetChromeProfilePath() {