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 aa0ac538a281d395d591924812d59d546ab2a038..c32381ce228135c9670d32384cb7dbd99e9b0c68 100644 |
--- a/components/policy/core/common/remote_commands/remote_command_job.cc |
+++ b/components/policy/core/common/remote_commands/remote_command_job.cc |
@@ -32,11 +32,11 @@ bool RemoteCommandJob::Init(base::TimeTicks now, |
status_ = INVALID; |
- if (!command.has_type() || !command.has_unique_id()) |
+ if (!command.has_type() || !command.has_command_id()) |
return false; |
DCHECK_EQ(command.type(), GetType()); |
- unique_id_ = command.unique_id(); |
+ unique_id_ = command.command_id(); |
if (command.has_age_of_command()) { |
// Use age of command provided by server to estimate the command issued time |