Check-in [e3aaea539b]
Overview
Comment:ChromeOS: Updated to include the command we are replying to in the reply
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e3aaea539b52b66263d09de7b9bb329243794de5
User & Date: rkeene on 2016-02-12 05:10:10
Original Comment: Updated to include the command we are replying to in the reply
Other Links: manifest | tags
Context
2016-02-12
05:10
ChromeOS: Started working on providing working callbacks for calls into NaCl check-in: b356505dc2 user: rkeene tags: trunk
05:10
ChromeOS: Updated to include the command we are replying to in the reply check-in: e3aaea539b user: rkeene tags: trunk
04:10
ChromeOS: Removed extra debugging initialization, should now be centralized check-in: 39884d86b4 user: rkeene tags: trunk
Changes

Modified build/chrome/cackey-chrome-init.cc from [75e6704a49] to [50a59eb73f].

84
85
86
87
88
89
90






91
92
93
94
95
96
97
			/*
			 * If a message ID was sent in the request, include it in the reply
			 */
			if (message->HasKey("id")) {
				reply->Set("id", message->Get("id"));
			}







			/*
			 * Send the reply back to the requestor, hopefully they are waiting for this message
			 */
			PostMessage(*reply);

			delete reply;








>
>
>
>
>
>







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;