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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_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/cloud/cloud_policy_client_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
index 4bf19daa40b9801c99eade3879575ede933fb1fa..e2f6fd690d6f81e154b873635fee23d2255b6691 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
@@ -140,7 +140,7 @@ class CloudPolicyClientTest : public testing::Test {
em::RemoteCommandResult* command_result =
remote_command_request_.mutable_remote_command_request()
->add_command_results();
- command_result->set_unique_id(kLastCommandId);
+ command_result->set_command_id(kLastCommandId);
command_result->set_result(
em::RemoteCommandResult_ResultType_RESULT_SUCCESS);
command_result->set_payload(kResultPayload);
@@ -151,7 +151,7 @@ class CloudPolicyClientTest : public testing::Test {
->add_commands();
command->set_age_of_command(kAgeOfCommand);
command->set_payload(kPayload);
- command->set_unique_id(kLastCommandId + 1);
+ command->set_command_id(kLastCommandId + 1);
command->set_type(em::RemoteCommand_Type_COMMAND_ECHO_TEST);
attribute_update_permission_request_.
« no previous file with comments | « chrome/browser/policy/test/policy_testserver.py ('k') | components/policy/core/common/cloud/cloud_policy_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698