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

Issue 3040016: Net: Convert username and password to string16. (Closed)

Created:
10 years, 5 months ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
cbentzel, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, John Grabowski, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

Net: Convert username and password to string16. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54101

Patch Set 1 : '' #

Total comments: 3

Patch Set 2 : address comments, rebase #

Total comments: 10

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -456 lines) Patch
M chrome/browser/login_prompt.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/base/auth.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M net/base/net_util.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/net_util.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 2 chunks +22 lines, -22 lines 0 comments Download
M net/ftp/ftp_auth_cache.h View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M net/ftp/ftp_auth_cache.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M net/ftp/ftp_auth_cache_unittest.cc View 1 2 8 chunks +40 lines, -24 lines 0 comments Download
M net/ftp/ftp_network_transaction.h View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 1 2 5 chunks +12 lines, -9 lines 0 comments Download
M net/ftp/ftp_transaction.h View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M net/http/http_auth.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M net/http/http_auth_cache.h View 1 2 6 chunks +10 lines, -9 lines 0 comments Download
M net/http/http_auth_cache.cc View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M net/http/http_auth_cache_unittest.cc View 1 2 10 chunks +90 lines, -69 lines 0 comments Download
M net/http/http_auth_controller.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_auth_controller.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
MM net/http/http_auth_gssapi_posix.h View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
MM net/http/http_auth_gssapi_posix.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_auth_handler.h View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M net/http/http_auth_handler.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_basic.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_basic.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_auth_handler_basic_unittest.cc View 1 2 3 chunks +12 lines, -10 lines 0 comments Download
M net/http/http_auth_handler_digest.h View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
M net/http/http_auth_handler_digest.cc View 1 2 8 chunks +20 lines, -16 lines 0 comments Download
M net/http/http_auth_handler_digest_unittest.cc View 1 2 2 chunks +10 lines, -7 lines 0 comments Download
M net/http/http_auth_handler_mock.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_mock.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_negotiate.h View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M net/http/http_auth_handler_negotiate.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_auth_handler_negotiate_unittest.cc View 1 2 6 chunks +11 lines, -10 lines 0 comments Download
M net/http/http_auth_handler_ntlm.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_auth_handler_ntlm.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M net/http/http_auth_handler_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_auth_sspi_win.h View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M net/http/http_auth_sspi_win.cc View 1 2 5 chunks +15 lines, -14 lines 0 comments Download
M net/http/http_cache_transaction.h View 1 2 4 chunks +9 lines, -6 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M net/http/http_network_transaction.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 32 chunks +48 lines, -31 lines 0 comments Download
M net/http/http_transaction.h View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M net/http/http_transaction_unittest.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 4 chunks +7 lines, -5 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M net/socket_stream/socket_stream.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/socket_stream/socket_stream.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket_stream/socket_stream_job.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/socket_stream/socket_stream_unittest.cc View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M net/spdy/spdy_network_transaction.h View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M net/spdy/spdy_network_transaction.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M net/url_request/url_request.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M net/url_request/url_request_ftp_job.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M net/url_request/url_request_ftp_job.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 5 chunks +8 lines, -7 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_job.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/url_request/url_request_unittest.h View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 9 chunks +18 lines, -14 lines 0 comments Download
M net/websockets/websocket_job.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M net/websockets/websocket_job.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/websockets/websocket_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Lei Zhang
Mostly mechanical.
10 years, 5 months ago (2010-07-23 07:29:15 UTC) #1
cbentzel
I'll take a longer look at this - I'm a little concerned about there being ...
10 years, 5 months ago (2010-07-23 17:07:58 UTC) #2
Lei Zhang
On 2010/07/23 17:07:58, cbentzel wrote: > I'll take a longer look at this - I'm ...
10 years, 5 months ago (2010-07-23 20:36:30 UTC) #3
eroman
lgtm http://codereview.chromium.org/3040016/diff/50001/19010 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/3040016/diff/50001/19010#newcode703 net/ftp/ftp_network_transaction.cc:703: std::string command = "USER " + UTF16ToUTF8(username_); Hmm, ...
10 years, 5 months ago (2010-07-26 17:42:25 UTC) #4
Lei Zhang
I'll wait for cbentzel's LGTM before committing. No rush. http://codereview.chromium.org/3040016/diff/50001/19038 File net/http/http_auth_sspi_win.cc (right): http://codereview.chromium.org/3040016/diff/50001/19038#newcode172 net/http/http_auth_sspi_win.cc:172: ...
10 years, 5 months ago (2010-07-27 18:12:14 UTC) #5
eroman
lgtm http://codereview.chromium.org/3040016/diff/5004/74038 File net/http/http_auth_sspi_win.cc (right): http://codereview.chromium.org/3040016/diff/5004/74038#newcode172 net/http/http_auth_sspi_win.cc:172: if (username && password) { Can you remove ...
10 years, 4 months ago (2010-07-28 00:09:12 UTC) #6
cbentzel
Sorry for the delay. I'll patch this in and test right now. On Tue, Jul ...
10 years, 4 months ago (2010-07-28 19:06:14 UTC) #7
cbentzel
LGTM http://codereview.chromium.org/3040016/diff/5004/74009 File net/ftp/ftp_auth_cache_unittest.cc (right): http://codereview.chromium.org/3040016/diff/5004/74009#newcode15 net/ftp/ftp_auth_cache_unittest.cc:15: const string16 kBogus(ASCIIToUTF16("password")); This should be "bogus" to ...
10 years, 4 months ago (2010-07-28 19:33:55 UTC) #8
eroman
http://codereview.chromium.org/3040016/diff/5004/74044 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3040016/diff/5004/74044#newcode49 net/http/http_network_transaction_unittest.cc:49: const string16 kBar(ASCIIToUTF16("bar")); On 2010/07/28 19:33:55, cbentzel wrote: > ...
10 years, 4 months ago (2010-07-28 19:58:33 UTC) #9
Lei Zhang
I too, wish there was a way to specify a string16 directly. :-\ http://codereview.chromium.org/3040016/diff/5004/74009 File ...
10 years, 4 months ago (2010-07-28 23:07:25 UTC) #10
cbentzel
10 years, 4 months ago (2010-07-29 01:00:58 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698