Index: components/policy/core/common/remote_commands/remote_command_job.cc |
diff --git a/components/policy/core/common/remote_commands/remote_command_job.cc b/components/policy/core/common/remote_commands/remote_command_job.cc |
index c32381ce228135c9670d32384cb7dbd99e9b0c68..bf43a599d479c8addf8f07864808dcee618a4bd5 100644 |
--- a/components/policy/core/common/remote_commands/remote_command_job.cc |
+++ b/components/policy/core/common/remote_commands/remote_command_job.cc |
@@ -54,8 +54,11 @@ bool RemoteCommandJob::Init(base::TimeTicks now, |
issued_time_ = now; |
} |
- if (!ParseCommandPayload(command.payload())) |
+ if (!ParseCommandPayload(command.payload())) { |
+ SYSLOG(ERROR) << "Unable to parse command payload for type " |
+ << command.type() << ": " << command.payload(); |
return false; |
+ } |
switch (command.type()) { |
case em::RemoteCommand_Type_COMMAND_ECHO_TEST: { |
@@ -72,6 +75,11 @@ bool RemoteCommandJob::Init(base::TimeTicks now, |
<< " initialized."; |
break; |
} |
+ case em::RemoteCommand_Type_DEVICE_SET_VOLUME: { |
+ SYSLOG(INFO) << "Remote set volume command " << unique_id_ |
+ << " initialized."; |
+ break; |
+ } |
} |
status_ = NOT_STARTED; |
return true; |