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

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: Respond to comments. 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..01a6095085c2dc31abd3a8f8a64b60c94712319a 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);
grt (UTC plus 2) 2015/01/09 17:45:28 (false /* chrome_sxs */); here and below
Matt Giuca 2015/01/12 06:54:26 Done.
if (!chrome_path.empty()) {
base::CommandLine cmd(chrome_path);
@@ -258,7 +259,7 @@ std::string ChromeLauncher::CreateServiceStateFile(
return std::string();
}
- base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath();
+ base::FilePath chrome_path = chrome_launcher_support::GetAnyChromePath(false);
if (chrome_path.empty()) {
LOG(ERROR) << "Can't find Chrome.";
return std::string();

Powered by Google App Engine
This is Rietveld 408576698