Differences From Artifact [75e6704a49]:
- File build/chrome/cackey-chrome-init.cc — part of check-in [75140d9f77] at 2016-02-12 04:06:52 on branch trunk — ChromeOS: Started work on supporting signing messages (user: rkeene, size: 4141) [annotate] [blame] [check-ins using]
To Artifact [50a59eb73f]:
- File build/chrome/cackey-chrome-init.cc — part of check-in [e3aaea539b] at 2016-02-12 05:10:10 on branch trunk — ChromeOS: Updated to include the command we are replying to in the reply (user: rkeene, size: 4263) [annotate] [blame] [check-ins using]
| ︙ | |||
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | + + + + + + |
/*
* If a message ID was sent in the request, include it in the reply
*/
if (message->HasKey("id")) {
reply->Set("id", message->Get("id"));
}
/*
* Indicate who our message is for
*/
reply->Set("target", "cackey");
reply->Set("command", command);
/*
* Send the reply back to the requestor, hopefully they are waiting for this message
*/
PostMessage(*reply);
delete reply;
|
| ︙ |