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

Issue 1459633003: Remove ScopedVector from net/socket tests (Closed)

Created:
5 years, 1 month ago by Olli Raula
Modified:
5 years ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ScopedVector from net/socket tests Some scoped_ptrs are made by make_scoped_ptr function because the bare pointer is also used after putting scoped_ptr to vector. BUG=554289 Committed: https://crrev.com/9d66b7d291c6a6797308abced82895fa531b268f Cr-Commit-Position: refs/heads/master@{#361078}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -21 lines) Patch
M net/socket/client_socket_pool_base_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/socket/socket_test_util.h View 3 chunks +7 lines, -7 lines 1 comment Download
M net/socket/socket_test_util.cc View 2 chunks +8 lines, -10 lines 1 comment Download
M net/socket/socks_client_socket_pool_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/socket/transport_client_socket_pool_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/socket/websocket_transport_client_socket_pool_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Olli Raula
Could you review?
5 years, 1 month ago (2015-11-19 16:01:45 UTC) #3
mmenke
LGTM. Two nits about pre-existing issues. Also, could you update your description to say "Remove ...
5 years, 1 month ago (2015-11-19 16:26:12 UTC) #4
Olli Raula
> https://codereview.chromium.org/1459633003/diff/1/net/socket/socket_test_util.h#newcode1034 > net/socket/socket_test_util.h:1034: > requests_.push_back(make_scoped_ptr(request)); > nit: Think it's cleaner (And safer across refactors) ...
5 years, 1 month ago (2015-11-20 09:22:06 UTC) #6
mmenke
On 2015/11/20 09:22:06, Olli Raula wrote: > > > https://codereview.chromium.org/1459633003/diff/1/net/socket/socket_test_util.h#newcode1034 > > net/socket/socket_test_util.h:1034: > > ...
5 years, 1 month ago (2015-11-20 16:21:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459633003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459633003/1
5 years ago (2015-11-23 07:14:56 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-23 08:30:49 UTC) #10
commit-bot: I haz the power
5 years ago (2015-11-23 08:31:46 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9d66b7d291c6a6797308abced82895fa531b268f
Cr-Commit-Position: refs/heads/master@{#361078}

Powered by Google App Engine
This is Rietveld 408576698