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

Issue 10443113: Fix memory leak in OneClickSigninHelperTest. (Closed)

Created:
8 years, 6 months ago by Roger Tawa OOO till Jul 10th
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix memory leak in OneClickSigninHelperTest. Also fixed CanOfferNoSigninCookies() to not use an incognito profile. BUG=130246 TEST=Make sure all OneClickSigninHelperTest tests do not leak a RPH. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140798

Patch Set 1 : Remove suppressions #

Patch Set 2 : Put back commented out call #

Total comments: 1

Patch Set 3 : Fix grammar #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : Make better use of new base class #

Patch Set 7 : rebase #

Total comments: 2

Patch Set 8 : rebase #

Patch Set 9 : Move UI marking to SetUp #

Total comments: 2

Patch Set 10 : Move UI marking to ctor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -77 lines) Patch
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +37 lines, -64 lines 0 comments Download
M tools/heapcheck/suppressions.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Roger Tawa OOO till Jul 10th
Hi Drew, Derek, Please take a look. Thanks.
8 years, 6 months ago (2012-05-31 20:20:47 UTC) #1
Derek Bruening
LGTM though I'm not familiar w/ this code http://codereview.chromium.org/10443113/diff/1002/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc File chrome/browser/ui/sync/one_click_signin_helper_unittest.cc (right): http://codereview.chromium.org/10443113/diff/1002/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc#newcode70 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc:70: // ...
8 years, 6 months ago (2012-06-01 15:04:24 UTC) #2
Roger Tawa OOO till Jul 10th
Thank Derek. I added you because you are an owner in tools\valgrind. Maybe that was ...
8 years, 6 months ago (2012-06-01 15:29:45 UTC) #3
Andrew T Wilson (Slow)
LGTM
8 years, 6 months ago (2012-06-01 16:22:10 UTC) #4
Andrew T Wilson (Slow)
On 2012/06/01 16:22:10, Andrew T Wilson wrote: > LGTM Note that the build failures are ...
8 years, 6 months ago (2012-06-01 16:23:44 UTC) #5
Roger Tawa OOO till Jul 10th
Correct Drew. I will send a try job with only these changes and see. Thanks ...
8 years, 6 months ago (2012-06-01 18:04:30 UTC) #6
Roger Tawa OOO till Jul 10th
Hi James, I fixed up the test to make better use of the new base ...
8 years, 6 months ago (2012-06-05 20:13:23 UTC) #7
James Hawkins
http://codereview.chromium.org/10443113/diff/31005/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc File chrome/browser/ui/sync/one_click_signin_helper_unittest.cc (right): http://codereview.chromium.org/10443113/diff/31005/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc#newcode97 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc:97: MarkCurrentThreadAsUIThread(); This method is now called in every test. ...
8 years, 6 months ago (2012-06-05 21:14:23 UTC) #8
Roger Tawa OOO till Jul 10th
Hi James, please take another look. http://codereview.chromium.org/10443113/diff/31005/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc File chrome/browser/ui/sync/one_click_signin_helper_unittest.cc (right): http://codereview.chromium.org/10443113/diff/31005/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc#newcode97 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc:97: MarkCurrentThreadAsUIThread(); On 2012/06/05 ...
8 years, 6 months ago (2012-06-06 15:40:26 UTC) #9
James Hawkins
LGTM with nit. http://codereview.chromium.org/10443113/diff/35006/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc File chrome/browser/ui/sync/one_click_signin_helper_unittest.cc (right): http://codereview.chromium.org/10443113/diff/35006/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc#newcode54 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc:54: ui_thread_.reset(new content::TestBrowserThread( nit: I'm sorry I ...
8 years, 6 months ago (2012-06-06 16:36:37 UTC) #10
Roger Tawa OOO till Jul 10th
Thanks James. Comments addressed, changes uploaded. Will CQ shortly. http://codereview.chromium.org/10443113/diff/35006/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc File chrome/browser/ui/sync/one_click_signin_helper_unittest.cc (right): http://codereview.chromium.org/10443113/diff/35006/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc#newcode54 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc:54: ...
8 years, 6 months ago (2012-06-06 17:05:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/10443113/38003
8 years, 6 months ago (2012-06-06 17:05:19 UTC) #12
commit-bot: I haz the power
8 years, 6 months ago (2012-06-06 18:28:04 UTC) #13
Change committed as 140798

Powered by Google App Engine
This is Rietveld 408576698