DescriptionNormalize parameters to AdbClientSocket::CommandCallback parameters
The 1st parameter (result) currently has unclear meaning. Sometimes it is used
as a network result (such as net::OK) and sometimes as the offset of the content
in the 2nd parameter (response).
This patch removes the confusion. result is always network error code and the response
is always the response content (empty if result is an error)
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216175
Patch Set 1 #Patch Set 2 : Added a TODO #
Messages
Total messages: 6 (0 generated)
|