summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_browsertest.cc
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 00:43:23 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 00:43:23 +0000
commitb6e38ef007bf29a33a35dc96d21a5499d42428a3 (patch)
tree2f1dbc46075e8a0e204cf290cf34e1a3061ead39 /chrome/browser/extensions/extension_browsertest.cc
parentf2330fe08ed5e92b52c6c90d2230fe678e07eb17 (diff)
downloadchromium_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.cc7
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();
}