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

Unified Diff: components/policy/core/common/remote_commands/remote_commands_queue_unittest.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_commands_queue_unittest.cc
diff --git a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
index 694c9f4767cd0fc2821487fb380676e86f7a3eea..3ec38a484e9df17b91a24877caacf1f971ab5abb 100644
--- a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
+++ b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc
@@ -36,7 +36,7 @@ em::RemoteCommand GenerateCommandProto(RemoteCommandJob::UniqueIDType unique_id,
em::RemoteCommand command_proto;
command_proto.set_type(
enterprise_management::RemoteCommand_Type_COMMAND_ECHO_TEST);
- command_proto.set_unique_id(unique_id);
+ command_proto.set_command_id(unique_id);
command_proto.set_age_of_command(age_of_command.InMilliseconds());
if (!payload.empty())
command_proto.set_payload(payload);

Powered by Google App Engine
This is Rietveld 408576698