Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: cloud_print/service/win/chrome_launcher.cc

Issue 685103004: Refactor chrome_launcher_support::GetAnyChromePath. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix app_installer compile. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cloud_print/service/win/chrome_launcher.cc
diff --git a/cloud_print/service/win/chrome_launcher.cc b/cloud_print/service/win/chrome_launcher.cc
index d63dc8f0b4000b7502d35ea8c99599105e87bf11..2b1ce8007d0121486fa6bec2cdadfac19725fac9 100644
--- a/cloud_print/service/win/chrome_launcher.cc
+++ b/cloud_print/service/win/chrome_launcher.cc
@@ -198,7 +198,8 @@ void ChromeLauncher::Run() {
for (base::TimeDelta time_out = default_time_out;;
time_out = std::min(time_out * 2, max_time_out)) {
- base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath();
+ base::FilePath chrome_path =
+ chrome_launcher_support::GetAnyChromePath(false /* is_sxs */);
if (!chrome_path.empty()) {
base::CommandLine cmd(chrome_path);
@@ -258,7 +259,8 @@ std::string ChromeLauncher::CreateServiceStateFile(
return std::string();
}
- base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath();
+ base::FilePath chrome_path =
+ chrome_launcher_support::GetAnyChromePath(false /* is_sxs */);
if (chrome_path.empty()) {
LOG(ERROR) << "Can't find Chrome.";
return std::string();
« no previous file with comments | « chrome/installer/launcher_support/chrome_launcher_support.cc ('k') | cloud_print/service/win/service_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698