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

Issue 23658053: Track active references in ShillClientHelper (Closed)

Created:
7 years, 3 months ago by stevenjb
Modified:
7 years, 3 months ago
Reviewers:
hashimoto, satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Track active references in ShillClientHelper To prevent Shill Service DBus ObjectProxy instances from accumulating, remove them when the service becomes inactive. BUG=223483 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224179

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Use an Owned RefHolder class #

Total comments: 4

Patch Set 4 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -28 lines) Patch
M chromeos/dbus/shill_client_helper.h View 1 2 5 chunks +20 lines, -1 line 0 comments Download
M chromeos/dbus/shill_client_helper.cc View 1 2 3 23 chunks +84 lines, -21 lines 0 comments Download
M chromeos/dbus/shill_device_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/shill_ipconfig_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/shill_manager_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/shill_profile_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/shill_service_client.cc View 1 2 3 chunks +22 lines, -2 lines 0 comments Download
M dbus/object_proxy.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
stevenjb
OK, after trying a couple of different approaches, I think this is the simplest reliable ...
7 years, 3 months ago (2013-09-13 23:04:07 UTC) #1
hashimoto
https://codereview.chromium.org/23658053/diff/4001/chromeos/dbus/shill_client_helper.cc File chromeos/dbus/shill_client_helper.cc (right): https://codereview.chromium.org/23658053/diff/4001/chromeos/dbus/shill_client_helper.cc#newcode21 chromeos/dbus/shill_client_helper.cc:21: class HelperRelease { nit: "Helper" here sounds ambiguous, does ...
7 years, 3 months ago (2013-09-17 03:28:53 UTC) #2
stevenjb
OK, I addressed the ownership issue by passing base::Owned(new RefHolder) to the success callbacks. I ...
7 years, 3 months ago (2013-09-17 21:03:16 UTC) #3
hashimoto
lgtm https://codereview.chromium.org/23658053/diff/14001/chromeos/dbus/shill_client_helper.cc File chromeos/dbus/shill_client_helper.cc (right): https://codereview.chromium.org/23658053/diff/14001/chromeos/dbus/shill_client_helper.cc#newcode238 chromeos/dbus/shill_client_helper.cc:238: Release(); question: Can we be sure that the ...
7 years, 3 months ago (2013-09-18 04:32:30 UTC) #4
stevenjb
PTAL https://codereview.chromium.org/23658053/diff/14001/chromeos/dbus/shill_client_helper.cc File chromeos/dbus/shill_client_helper.cc (right): https://codereview.chromium.org/23658053/diff/14001/chromeos/dbus/shill_client_helper.cc#newcode238 chromeos/dbus/shill_client_helper.cc:238: Release(); On 2013/09/18 04:32:30, hashimoto wrote: > question: ...
7 years, 3 months ago (2013-09-18 16:58:28 UTC) #5
hashimoto
lgtm
7 years, 3 months ago (2013-09-19 02:52:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/23658053/20001
7 years, 3 months ago (2013-09-19 16:56:01 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 19:12:20 UTC) #8
Message was sent while issue was closed.
Change committed as 224179

Powered by Google App Engine
This is Rietveld 408576698