| Index: remoting/host/daemon_process_win.cc
|
| diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
|
| index a03140dbb03cfefa68d5c070ab0f6b256d5901fe..205c9c40ba99ba86142391408e8550bac5a9178d 100644
|
| --- a/remoting/host/daemon_process_win.cc
|
| +++ b/remoting/host/daemon_process_win.cc
|
| @@ -167,7 +167,7 @@ bool DaemonProcessWin::OnDesktopSessionAgentAttached(
|
| 0,
|
| FALSE,
|
| DUPLICATE_SAME_ACCESS)) {
|
| - LOG_GETLASTERROR(ERROR) << "Failed to duplicate the desktop process handle";
|
| + PLOG(ERROR) << "Failed to duplicate the desktop process handle";
|
| return false;
|
| }
|
|
|
| @@ -238,8 +238,7 @@ void DaemonProcessWin::DisableAutoStart() {
|
| OpenSCManager(NULL, SERVICES_ACTIVE_DATABASE,
|
| SC_MANAGER_CONNECT | SC_MANAGER_ENUMERATE_SERVICE));
|
| if (!scmanager.IsValid()) {
|
| - LOG_GETLASTERROR(INFO)
|
| - << "Failed to connect to the service control manager";
|
| + PLOG(INFO) << "Failed to connect to the service control manager";
|
| return;
|
| }
|
|
|
| @@ -247,8 +246,8 @@ void DaemonProcessWin::DisableAutoStart() {
|
| ScopedScHandle service(
|
| OpenService(scmanager, kWindowsServiceName, desired_access));
|
| if (!service.IsValid()) {
|
| - LOG_GETLASTERROR(INFO)
|
| - << "Failed to open to the '" << kWindowsServiceName << "' service";
|
| + PLOG(INFO) << "Failed to open to the '" << kWindowsServiceName
|
| + << "' service";
|
| return;
|
| }
|
|
|
| @@ -265,9 +264,8 @@ void DaemonProcessWin::DisableAutoStart() {
|
| NULL,
|
| NULL,
|
| NULL)) {
|
| - LOG_GETLASTERROR(INFO)
|
| - << "Failed to change the '" << kWindowsServiceName
|
| - << "'service start type to 'manual'";
|
| + PLOG(INFO) << "Failed to change the '" << kWindowsServiceName
|
| + << "'service start type to 'manual'";
|
| }
|
| }
|
|
|
|
|