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

Issue 10914136: Fix URLFetcher leaks in ChromeToMobileService (Closed)

Created:
8 years, 3 months ago by Raghu Simha
Modified:
8 years, 3 months ago
Reviewers:
msw
CC:
chromium-reviews
Visibility:
Public.

Description

Fix URLFetcher leaks in ChromeToMobileService sync_integration_tests are failing due to URLFetcher leaks in ChromeToMobileService. This patch fixes the leaks by using scoped_ptrs instead of raw pointers. TBR=msw@chromium.org BUG=146826 TEST=sync_integration_tests

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -11 lines) Patch
M chrome/browser/chrome_to_mobile_service.h View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 2 chunks +10 lines, -10 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Raghu Simha
msw@, please review.
8 years, 3 months ago (2012-09-07 01:39:33 UTC) #1
Hironori Bono
LGTM.
8 years, 3 months ago (2012-09-07 02:00:37 UTC) #2
msw
Thanks for finding and attempting to fix this issue! http://codereview.chromium.org/10914136/diff/2001/chrome/browser/chrome_to_mobile_service.cc File chrome/browser/chrome_to_mobile_service.cc (right): http://codereview.chromium.org/10914136/diff/2001/chrome/browser/chrome_to_mobile_service.cc#newcode255 chrome/browser/chrome_to_mobile_service.cc:255: ...
8 years, 3 months ago (2012-09-07 02:01:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsimha@chromium.org/10914136/2001
8 years, 3 months ago (2012-09-07 02:02:06 UTC) #4
msw
On 2012/09/07 02:02:06, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 3 months ago (2012-09-07 02:02:41 UTC) #5
Raghu Simha
On 2012/09/07 02:02:41, msw wrote: > I unchecked the CQ... this patch is not acceptable. ...
8 years, 3 months ago (2012-09-07 02:05:25 UTC) #6
msw
8 years, 3 months ago (2012-09-07 15:26:02 UTC) #7
I'm planning to fix the leak in http://codereview.chromium.org/10918119/
I'll take the bug from you, and you can abandon this CL; but thanks for looking!

Powered by Google App Engine
This is Rietveld 408576698