diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 00:43:23 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 00:43:23 +0000 |
commit | b6e38ef007bf29a33a35dc96d21a5499d42428a3 (patch) | |
tree | 2f1dbc46075e8a0e204cf290cf34e1a3061ead39 /chrome/browser/extensions/extension_browsertest.cc | |
parent | f2330fe08ed5e92b52c6c90d2230fe678e07eb17 (diff) | |
download | chromium_src-b6e38ef007bf29a33a35dc96d21a5499d42428a3.zip chromium_src-b6e38ef007bf29a33a35dc96d21a5499d42428a3.tar.gz chromium_src-b6e38ef007bf29a33a35dc96d21a5499d42428a3.tar.bz2 |
Close all browsers during InProcessBrowserTest cleanup, not just the main one.
BUG=none
TEST=ExtensionViewTest.Incognito
Review URL: http://codereview.chromium.org/126175
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browsertest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_browsertest.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc index c61c59d..4008828 100644 --- a/chrome/browser/extensions/extension_browsertest.cc +++ b/chrome/browser/extensions/extension_browsertest.cc @@ -163,11 +163,4 @@ IN_PROC_BROWSER_TEST_F(ExtensionViewTest, Incognito) { // TODO(mpcomplete): wait for uninstall to complete? browser()->profile()->GetExtensionsService()->UninstallExtension(kGoodCrxId); - - // Close our incognito window. - Browser* otr_browser = BrowserList::FindBrowserWithType( - browser()->profile()->GetOffTheRecordProfile(), - Browser::TYPE_NORMAL); - if (otr_browser) - otr_browser->CloseAllTabs(); } |