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

Issue 22429005: Normalize parameters to AdbClientSocket::CommandCallback parameters (Closed)

Created:
7 years, 4 months ago by Vladislav Kaznacheev
Modified:
7 years, 4 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

Normalize 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M chrome/browser/devtools/adb_client_socket.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/devtools/devtools_adb_bridge.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Vladislav Kaznacheev
7 years, 4 months ago (2013-08-07 09:16:40 UTC) #1
pfeldman
Please add TODO to migrate to http_response_headers
7 years, 4 months ago (2013-08-07 09:49:59 UTC) #2
pfeldman
lgtm
7 years, 4 months ago (2013-08-07 09:50:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/22429005/1
7 years, 4 months ago (2013-08-07 09:50:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaznacheev@chromium.org/22429005/1003
7 years, 4 months ago (2013-08-07 10:28:42 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-07 13:13:51 UTC) #6
Message was sent while issue was closed.
Change committed as 216175

Powered by Google App Engine
This is Rietveld 408576698