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

Issue 10417002: RefCounted types should not have public destructors, net/ edition (Closed)

Created:
8 years, 7 months ago by Ryan Sleevi
Modified:
8 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, jochen+watch-content_chromium.org, jam, joi+watch-content_chromium.org, eroman, darin-cc_chromium.org, mmenke
Visibility:
Public.

Description

RefCounted types should not have public destructors, net/ edition BUG=123295 TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139272

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased to r139261 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -49 lines) Patch
M chrome/browser/io_thread.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/io_thread.cc View 2 chunks +25 lines, -25 lines 0 comments Download
M net/base/net_log.h View 2 chunks +3 lines, -1 line 0 comments Download
M net/base/network_change_notifier.h View 1 3 chunks +7 lines, -10 lines 0 comments Download
M net/base/stream_listen_socket.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M net/curvecp/packetizer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/disk_cache/file.h View 1 chunk +3 lines, -2 lines 0 comments Download
M net/socket_stream/socket_stream.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/buffered_spdy_framer.h View 2 chunks +3 lines, -1 line 0 comments Download
M net/spdy/spdy_websocket_stream.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request.h View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Ryan Sleevi
willchan: for everything but content/public joi: for content/public
8 years, 7 months ago (2012-05-21 08:02:20 UTC) #1
Jói
LGTM for content/public
8 years, 7 months ago (2012-05-21 10:29:52 UTC) #2
willchan no longer on Chromium
Wait, I just started going through this. These types aren't refcounted...what's the change for? http://codereview.chromium.org/10417002/diff/1/chrome/browser/io_thread.h ...
8 years, 7 months ago (2012-05-21 14:31:08 UTC) #3
Jói
Will is right, URLFetcherDelegate (in content/public) doesn't seem to be refcounted either. Cheers, Jói On ...
8 years, 7 months ago (2012-05-21 14:37:20 UTC) #4
Ryan Sleevi
Sorry, I should have been more explicit. These are all /base/ classes for multiply-inheriting RefCounted ...
8 years, 7 months ago (2012-05-21 15:19:47 UTC) #5
willchan no longer on Chromium
Do you think this is a good thing to do in general? Or only when ...
8 years, 7 months ago (2012-05-21 17:54:06 UTC) #6
Ryan Sleevi
On 2012/05/21 17:54:06, willchan wrote: > Do you think this is a good thing to ...
8 years, 7 months ago (2012-05-21 18:58:53 UTC) #7
willchan no longer on Chromium
On Mon, May 21, 2012 at 11:58 AM, <rsleevi@chromium.org> wrote: > On 2012/05/21 17:54:06, willchan ...
8 years, 7 months ago (2012-05-21 19:08:56 UTC) #8
Ryan Sleevi
On Mon, May 21, 2012 at 12:08 PM, William Chan (陈智昌) <willchan@chromium.org>wrote: > On Mon, ...
8 years, 7 months ago (2012-05-21 19:18:27 UTC) #9
willchan no longer on Chromium
I VC'd with rsleevi to discuss this. Ryan agreed that removing public destructors makes DI ...
8 years, 7 months ago (2012-05-21 21:13:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10417002/1
8 years, 7 months ago (2012-05-21 22:20:02 UTC) #11
commit-bot: I haz the power
Try job failure for 10417002-1 (retry) (retry) on win_rel for steps "base_unittests, sync_unit_tests" (clobber build). ...
8 years, 7 months ago (2012-05-22 05:04:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10417002/1
8 years, 6 months ago (2012-05-28 20:57:40 UTC) #13
commit-bot: I haz the power
Failed to apply patch for content/public/common/url_fetcher_delegate.h: While running patch -p1 --forward --force; patching file content/public/common/url_fetcher_delegate.h ...
8 years, 6 months ago (2012-05-28 20:57:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10417002/17001
8 years, 6 months ago (2012-05-28 22:31:55 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-05-29 00:11:45 UTC) #16
Change committed as 139272

Powered by Google App Engine
This is Rietveld 408576698