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

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: Created 6 years, 2 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 5dd876d30bef6b58fdde857f04c65a8fd2ca8339..9de123f71beec37d8782fffc9788193d874f6758 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);
Matt Giuca 2014/10/30 02:54:50 Question for Vitaly: Is there a reason why cloud_p
grt (UTC plus 2) 2014/10/30 16:44:53 The canary population is extremely small, and in m
Vitaly Buka (NO REVIEWS) 2014/10/30 16:46:17 It's OK to try Canary first here and then fallback
Matt Giuca 2015/01/09 06:17:32 Echoing my statements in chrome_launcher_support.c
grt (UTC plus 2) 2015/01/09 17:45:28 Is the only path to installing canary cloud print
Matt Giuca 2015/01/12 06:54:26 I don't know. Vitaly, can you answer this? TBH I
Vitaly Buka (NO REVIEWS) 2015/01/12 08:24:43 sgtm. There is no canary build of cloud print ser
grt (UTC plus 2) 2015/01/12 14:02:41 SGTM
if (!chrome_path.empty()) {
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