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     84   			/*
    85     85   			 * If a message ID was sent in the request, include it in the reply
    86     86   			 */
    87     87   			if (message->HasKey("id")) {
    88     88   				reply->Set("id", message->Get("id"));
    89     89   			}
    90     90   
           91  +			/*
           92  +			 * Indicate who our message is for
           93  +			 */
           94  +			reply->Set("target", "cackey");
           95  +			reply->Set("command", command);
           96  +
    91     97   			/*
    92     98   			 * Send the reply back to the requestor, hopefully they are waiting for this message
    93     99   			 */
    94    100   			PostMessage(*reply);
    95    101   
    96    102   			delete reply;
    97    103