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

Issue 2249473002: Remove use of stl_util's STLDeleteContainerPairSecondPointers from content/. (Closed)

Created:
4 years, 4 months ago by Avi (use Gerrit)
Modified:
4 years, 4 months ago
CC:
chromium-reviews, michaeln, wjmaclean, jam, nhiroki, darin-cc_chromium.org, jkarlin+watch_chromium.org, cmumford, jsbell+idb_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove use of stl_util's STLDeleteContainerPairSecondPointers from content/. BUG=555865 Committed: https://crrev.com/6f9a1d41f9513ff48b3f902dca6dc0d24bd91f29 Cr-Commit-Position: refs/heads/master@{#412259}

Patch Set 1 #

Patch Set 2 : a fix #

Patch Set 3 : win? #

Patch Set 4 : win2 #

Total comments: 4

Patch Set 5 : p2p #

Total comments: 8

Patch Set 6 : nick's fixes #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -131 lines) Patch
M content/browser/appcache/appcache.h View 4 chunks +5 lines, -3 lines 0 comments Download
M content/browser/appcache/appcache.cc View 6 chunks +10 lines, -12 lines 0 comments Download
M content/browser/appcache/appcache_storage.h View 1 2 3 4 5 3 chunks +5 lines, -6 lines 0 comments Download
M content/browser/appcache/appcache_storage.cc View 1 2 3 4 5 6 5 chunks +7 lines, -5 lines 0 comments Download
M content/browser/child_process_security_policy_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 4 chunks +3 lines, -10 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_dispatcher_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_dispatcher_host.cc View 1 2 3 4 5 6 8 chunks +9 lines, -13 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host.h View 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp.cc View 1 2 3 4 4 chunks +12 lines, -11 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_server.h View 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_server.cc View 1 2 3 4 4 chunks +15 lines, -20 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_server_unittest.cc View 1 2 3 4 5 5 chunks +8 lines, -11 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_udp_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 2 chunks +12 lines, -11 lines 0 comments Download
M content/browser/storage_partition_impl_map.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl_map.cc View 4 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 42 (30 generated)
Avi (use Gerrit)
4 years, 4 months ago (2016-08-15 00:51:30 UTC) #17
Avi (use Gerrit)
Sergey for p2p
4 years, 4 months ago (2016-08-15 00:52:22 UTC) #19
jam
can you please send this to another reviewer?
4 years, 4 months ago (2016-08-15 16:33:33 UTC) #20
Sergey Ulanov
LGTM. Thanks for the cleanup! https://codereview.chromium.org/2249473002/diff/60001/content/browser/renderer_host/p2p/socket_host_tcp.cc File content/browser/renderer_host/p2p/socket_host_tcp.cc (right): https://codereview.chromium.org/2249473002/diff/60001/content/browser/renderer_host/p2p/socket_host_tcp.cc#newcode73 content/browser/renderer_host/p2p/socket_host_tcp.cc:73: DCHECK(socket.get()); nit: don't need ...
4 years, 4 months ago (2016-08-15 16:54:59 UTC) #21
Avi (use Gerrit)
Nick, something I threw together over the weekend. https://codereview.chromium.org/2249473002/diff/60001/content/browser/renderer_host/p2p/socket_host_tcp.cc File content/browser/renderer_host/p2p/socket_host_tcp.cc (right): https://codereview.chromium.org/2249473002/diff/60001/content/browser/renderer_host/p2p/socket_host_tcp.cc#newcode73 content/browser/renderer_host/p2p/socket_host_tcp.cc:73: DCHECK(socket.get()); ...
4 years, 4 months ago (2016-08-15 18:10:29 UTC) #25
ncarter (slow)
lgtm https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc File content/browser/appcache/appcache_storage.cc (right): https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc#newcode49 content/browser/appcache/appcache_storage.cc:49: storage_->pending_info_loads_.insert(PendingResponseInfoLoads::value_type( Does map::emplace(key, value) work here (letting you ...
4 years, 4 months ago (2016-08-15 21:51:33 UTC) #28
Avi (use Gerrit)
https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc File content/browser/appcache/appcache_storage.cc (right): https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc#newcode49 content/browser/appcache/appcache_storage.cc:49: storage_->pending_info_loads_.insert(PendingResponseInfoLoads::value_type( On 2016/08/15 21:51:33, ncarter wrote: > Does map::emplace(key, ...
4 years, 4 months ago (2016-08-15 23:46:49 UTC) #31
Avi (use Gerrit)
https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc File content/browser/appcache/appcache_storage.cc (right): https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcache/appcache_storage.cc#newcode49 content/browser/appcache/appcache_storage.cc:49: storage_->pending_info_loads_.insert(PendingResponseInfoLoads::value_type( On 2016/08/15 23:46:49, Avi wrote: > On 2016/08/15 ...
4 years, 4 months ago (2016-08-16 14:59:02 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2249473002/120001
4 years, 4 months ago (2016-08-16 15:28:04 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-16 16:07:47 UTC) #39
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/6f9a1d41f9513ff48b3f902dca6dc0d24bd91f29 Cr-Commit-Position: refs/heads/master@{#412259}
4 years, 4 months ago (2016-08-16 16:11:08 UTC) #41
ncarter (slow)
4 years, 4 months ago (2016-08-16 18:41:19 UTC) #42
Message was sent while issue was closed.
https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcach...
File content/browser/appcache/appcache_storage.cc (right):

https://codereview.chromium.org/2249473002/diff/80001/content/browser/appcach...
content/browser/appcache/appcache_storage.cc:49:
storage_->pending_info_loads_.insert(PendingResponseInfoLoads::value_type(
On 2016/08/16 14:59:02, Avi wrote:
> On 2016/08/15 23:46:49, Avi wrote:
> > On 2016/08/15 21:51:33, ncarter wrote:
> > > Does map::emplace(key, value) work here (letting you omit the value_type)?
> > 
> > Nice, and it lets me drop the typedef.
> 
> No, unfortunately map::emplace doesn't exist on the version of libstdc++ that
> we're using on Linux. That's apparently called out at
> https://chromium-cpp.appspot.com/, though we must have missed that.

Sorry for the wild goose chase, then. At least we learned something.

Powered by Google App Engine
This is Rietveld 408576698