Chromium Code Reviews| Index: cloud_print/service/win/cloud_print_service.cc |
| diff --git a/cloud_print/service/win/cloud_print_service.cc b/cloud_print/service/win/cloud_print_service.cc |
| index f87c288850ad72a29c8cfb78df1245d475622ab7..6218f15a2fa9170addaac2e8dfcab2a102c5443e 100644 |
| --- a/cloud_print/service/win/cloud_print_service.cc |
| +++ b/cloud_print/service/win/cloud_print_service.cc |
| @@ -15,6 +15,7 @@ |
| #include "base/path_service.h" |
| #include "base/string_util.h" |
| #include "base/win/scoped_handle.h" |
| +#include "chrome/tools/launcher_support/chrome_launcher_support.h" |
| #include "cloud_print/service/service_state.h" |
| #include "cloud_print/service/service_switches.h" |
| #include "cloud_print/service/win/chrome_launcher.h" |
| @@ -188,7 +189,8 @@ class CloudPrintServiceModule |
| if (FAILED(hr)) |
| return hr; |
|
Vitaly Buka (NO REVIEWS)
2012/06/13 18:01:36
you can put
"using namespace chrome_launcher_supp
erikwright (departed)
2012/06/13 19:43:43
Done.
|
| - if (ChromeLauncher::GetChromePath(HKEY_LOCAL_MACHINE).empty()) { |
| + if (chrome_launcher_support::GetChromePathForInstallationLevel( |
| + chrome_launcher_support::SYSTEM_LEVEL_INSTALLATION).empty()) { |
| LOG(ERROR) << "Found no Chrome installed for all users."; |
| return HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND); |
| } |