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

Unified Diff: cloud_print/service/win/service_listener.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/service_listener.cc
diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc
index 0aaf0f305848d531318f0a293f19b23841129cfc..f4af6ddccc5700183028cfd2ea4a3e2f6f05664d 100644
--- a/cloud_print/service/win/service_listener.cc
+++ b/cloud_print/service/win/service_listener.cc
@@ -35,8 +35,9 @@ std::string GetEnvironment(const base::FilePath& user_data_dir) {
printing::XPSModule::Init());
environment.SetString(SetupListener::kUserNameJsonValueName,
GetCurrentUserName());
- environment.SetString(SetupListener::kChromePathJsonValueName,
- chrome_launcher_support::GetAnyChromePath().value());
+ environment.SetString(
+ SetupListener::kChromePathJsonValueName,
+ chrome_launcher_support::GetAnyChromePath(false /* is_sxs */).value());
if (base::CreateDirectory(user_data_dir)) {
base::FilePath temp_file;
if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) {
« no previous file with comments | « cloud_print/service/win/chrome_launcher.cc ('k') | cloud_print/virtual_driver/win/port_monitor/port_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698