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

Issue 8586027: Move DNS resolution from websocket-to-TCP proxy to ExtensionFunction (Closed)

Created:
9 years, 1 month ago by altimofeev
Modified:
9 years, 1 month ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, Erik does not do reviews, mihaip+watch_chromium.org, Aaron Boodman, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Move DNS resolution from websocket-to-TCP proxy to ExtensionFunction DNS resolution in proxy is libevent-based, not regular HostResolver. Now we use HostResolver. (Original CL was written by dilmah@ ) BUG=chromium-os:23329 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111148

Patch Set 1 #

Patch Set 2 : Support legacy API #

Patch Set 3 : nit #

Patch Set 4 : nits #

Patch Set 5 : nits #

Patch Set 6 : merged #

Total comments: 2

Patch Set 7 : +unittest #

Patch Set 8 : nits #

Patch Set 9 : fixed #

Total comments: 2

Patch Set 10 : merged #

Patch Set 11 : nit #

Patch Set 12 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -167 lines) Patch
M chrome/browser/chromeos/web_socket_proxy.cc View 1 2 3 4 5 6 7 8 7 chunks +19 lines, -43 lines 0 comments Download
A chrome/browser/chromeos/web_socket_proxy_helper.h View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/web_socket_proxy_helper.cc View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/web_socket_proxy_helper_unittest.cc View 1 2 3 4 5 6 7 8 11 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_web_socket_proxy_private_api.h View 1 2 3 4 5 1 chunk +51 lines, -23 lines 0 comments Download
M chrome/browser/extensions/extension_web_socket_proxy_private_api.cc View 1 2 3 4 5 6 7 8 4 chunks +131 lines, -98 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
altimofeev
PTAL
9 years, 1 month ago (2011-11-18 15:24:23 UTC) #1
Denis Lagno
http://codereview.chromium.org/8586027/diff/8001/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc File chrome/browser/extensions/extension_web_socket_proxy_private_api.cc (right): http://codereview.chromium.org/8586027/diff/8001/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc#newcode207 chrome/browser/extensions/extension_web_socket_proxy_private_api.cc:207: passport += map_["addr"]; nit: this will fail if hostname ...
9 years, 1 month ago (2011-11-18 23:05:25 UTC) #2
altimofeev
Fixed comment and added unittests. PTAL. http://codereview.chromium.org/8586027/diff/8001/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc File chrome/browser/extensions/extension_web_socket_proxy_private_api.cc (right): http://codereview.chromium.org/8586027/diff/8001/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc#newcode207 chrome/browser/extensions/extension_web_socket_proxy_private_api.cc:207: passport += map_["addr"]; ...
9 years, 1 month ago (2011-11-21 17:29:42 UTC) #3
Denis Lagno
http://codereview.chromium.org/8586027/diff/15001/chrome/browser/chromeos/web_socket_proxy_helper.h File chrome/browser/chromeos/web_socket_proxy_helper.h (right): http://codereview.chromium.org/8586027/diff/15001/chrome/browser/chromeos/web_socket_proxy_helper.h#newcode15 chrome/browser/chromeos/web_socket_proxy_helper.h:15: class WebSocketProxyHelper { I do not like creating separate ...
9 years, 1 month ago (2011-11-21 22:38:24 UTC) #4
altimofeev
Thank you for the comment. Please find my answer inline. http://codereview.chromium.org/8586027/diff/15001/chrome/browser/chromeos/web_socket_proxy_helper.h File chrome/browser/chromeos/web_socket_proxy_helper.h (right): http://codereview.chromium.org/8586027/diff/15001/chrome/browser/chromeos/web_socket_proxy_helper.h#newcode15 ...
9 years, 1 month ago (2011-11-22 07:42:44 UTC) #5
Denis Lagno
On 2011/11/22 07:42:44, altimofeev wrote: > 2. From my point of view, escaping the address ...
9 years, 1 month ago (2011-11-22 08:17:48 UTC) #6
altimofeev
On 2011/11/22 08:17:48, Denis Lagno wrote: > escaping address is matter of 2-4 lines of ...
9 years, 1 month ago (2011-11-22 09:04:34 UTC) #7
Dmitry Polukhin
LGTM
9 years, 1 month ago (2011-11-22 09:04:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/altimofeev@chromium.org/8586027/15001
9 years, 1 month ago (2011-11-22 12:33:50 UTC) #9
commit-bot: I haz the power
Can't process patch for file chrome/browser/chromeos/web_socket_proxy_helper_unittest.cc. File's status is None, patchset upload is incomplete.
9 years, 1 month ago (2011-11-22 12:33:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/altimofeev@chromium.org/8586027/22010
9 years, 1 month ago (2011-11-22 12:52:14 UTC) #11
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 13:54:25 UTC) #12
Change committed as 111148

Powered by Google App Engine
This is Rietveld 408576698