| Index: cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc
|
| diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc
|
| index c6acfda3f79d2d6186d2eb28f925130f1badabc4..e9cf3b57044a61e99a60bc0faa04e71f2af9827b 100644
|
| --- a/cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc
|
| +++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor_dll.cc
|
| @@ -39,7 +39,7 @@ namespace {
|
|
|
| // Returns true if Xps support is installed.
|
| bool XpsIsInstalled() {
|
| - FilePath xps_path;
|
| + base::FilePath xps_path;
|
| if (!SUCCEEDED(GetPrinterDriverDir(&xps_path))) {
|
| return false;
|
| }
|
| @@ -80,7 +80,7 @@ HRESULT WINAPI DllRegisterServer(void) {
|
| MONITOR_INFO_2 monitor_info = {0};
|
| // YUCK!!! I can either copy the constant, const_cast, or define my own
|
| // MONITOR_INFO_2 that will take const strings.
|
| - FilePath dll_path(cloud_print::GetPortMonitorDllName());
|
| + base::FilePath dll_path(cloud_print::GetPortMonitorDllName());
|
| monitor_info.pDLLName = const_cast<LPWSTR>(dll_path.value().c_str());
|
| monitor_info.pName = const_cast<LPWSTR>(dll_path.value().c_str());
|
| if (AddMonitor(NULL, 2, reinterpret_cast<BYTE*>(&monitor_info))) {
|
| @@ -94,7 +94,7 @@ HRESULT WINAPI DllUnregisterServer(void) {
|
| if (!cloud_print::CanRegister()) {
|
| return E_ACCESSDENIED;
|
| }
|
| - FilePath dll_path(cloud_print::GetPortMonitorDllName());
|
| + base::FilePath dll_path(cloud_print::GetPortMonitorDllName());
|
| if (DeleteMonitor(NULL,
|
| NULL,
|
| const_cast<LPWSTR>(dll_path.value().c_str()))) {
|
|
|