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

Issue 12610003: Create the testing profile using the builder. (Closed)

Created:
7 years, 9 months ago by Adrian Kuegel
Modified:
7 years, 9 months ago
Reviewers:
sky, dhollowa
CC:
chromium-reviews, Lei Zhang
Visibility:
Public.

Description

Create the testing profile using the TestingProfile::Builder. This could fix the problem that some services do no shutdown properly in the test. BUG=179391 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187272

Patch Set 1 #

Patch Set 2 : Remove test exclusion. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/browser/ui/browser_command_controller_unittest.cc View 1 chunk +2 lines, -1 line 2 comments Download
M tools/valgrind/gtest_exclude/unit_tests.gtest-drmemory_win32.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Adrian Kuegel
This changelist tries to fix the issue with the IncognitoModeOnSigninAllowedPrefChange unit test on DrMemory bot. ...
7 years, 9 months ago (2013-03-07 12:53:44 UTC) #1
dhollowa
To test it properly you'll need to remove the exclusion in https://codereview.chromium.org/12377050 and then watch ...
7 years, 9 months ago (2013-03-07 17:52:17 UTC) #2
Adrian Kuegel
Ok, I added the revert to this changelist. Is it ok if I alert the ...
7 years, 9 months ago (2013-03-08 09:07:34 UTC) #3
Adrian Kuegel
Scott, can you please review this changelist and give me OWNERS approval?
7 years, 9 months ago (2013-03-08 09:08:10 UTC) #4
dhollowa
LGTM.
7 years, 9 months ago (2013-03-08 15:57:56 UTC) #5
sky
https://codereview.chromium.org/12610003/diff/4001/chrome/browser/ui/browser_command_controller_unittest.cc File chrome/browser/ui/browser_command_controller_unittest.cc (right): https://codereview.chromium.org/12610003/diff/4001/chrome/browser/ui/browser_command_controller_unittest.cc#newcode332 chrome/browser/ui/browser_command_controller_unittest.cc:332: TestingProfile* profile2 = builder.Build().release(); I'm not familiar with TestingPRofile::Builder, ...
7 years, 9 months ago (2013-03-08 16:08:05 UTC) #6
Adrian Kuegel
https://codereview.chromium.org/12610003/diff/4001/chrome/browser/ui/browser_command_controller_unittest.cc File chrome/browser/ui/browser_command_controller_unittest.cc (right): https://codereview.chromium.org/12610003/diff/4001/chrome/browser/ui/browser_command_controller_unittest.cc#newcode332 chrome/browser/ui/browser_command_controller_unittest.cc:332: TestingProfile* profile2 = builder.Build().release(); Build() returns a scoped_ptr. So ...
7 years, 9 months ago (2013-03-08 16:28:54 UTC) #7
sky
Then where do you delete profile2? On Fri, Mar 8, 2013 at 8:28 AM, <akuegel@chromium.org> ...
7 years, 9 months ago (2013-03-08 16:52:18 UTC) #8
Adrian Kuegel
Since profile2 is a off-the-record profile of profile1, this should be taken care of by ...
7 years, 9 months ago (2013-03-08 16:56:37 UTC) #9
sky
Indeed it does, LGTM
7 years, 9 months ago (2013-03-08 18:28:43 UTC) #10
Adrian Kuegel
@thestig: Just wanted to notify you that I am about to commit this changelist which ...
7 years, 9 months ago (2013-03-11 08:52:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akuegel@chromium.org/12610003/4001
7 years, 9 months ago (2013-03-11 08:53:52 UTC) #12
commit-bot: I haz the power
7 years, 9 months ago (2013-03-11 11:17:04 UTC) #13
Message was sent while issue was closed.
Change committed as 187272

Powered by Google App Engine
This is Rietveld 408576698