Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: components/policy/core/common/remote_commands/remote_command_job.cc

Issue 2453993004: Match server version of DM API proto. (Closed)
Patch Set: Style and comment fixes. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698