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

Unified Diff: chrome/browser/extensions/active_tab_unittest.cc

Issue 14197014: Add TestBrowserThreadBundle into RenderViewHostTestHarness. Kill some unnecessary real threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address jyasskin's comments\ Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/active_tab_unittest.cc
diff --git a/chrome/browser/extensions/active_tab_unittest.cc b/chrome/browser/extensions/active_tab_unittest.cc
index 4a244b45e994c3522c8271ad4487ccfb5c9e4665..b81dae80168c6a9e38b9b04baa8680343a03ffbb 100644
--- a/chrome/browser/extensions/active_tab_unittest.cc
+++ b/chrome/browser/extensions/active_tab_unittest.cc
@@ -58,8 +58,7 @@ class ActiveTabTest : public ChromeRenderViewHostTestHarness {
ActiveTabTest()
: extension(CreateTestExtension("deadbeef", true)),
another_extension(CreateTestExtension("feedbeef", true)),
- extension_without_active_tab(CreateTestExtension("badbeef", false)),
- ui_thread_(BrowserThread::UI, MessageLoop::current()) {}
+ extension_without_active_tab(CreateTestExtension("badbeef", false)) {}
protected:
virtual void SetUp() OVERRIDE {
@@ -124,9 +123,6 @@ class ActiveTabTest : public ChromeRenderViewHostTestHarness {
// An extension without the activeTab permission.
scoped_refptr<const Extension> extension_without_active_tab;
-
- private:
- content::TestBrowserThread ui_thread_;
};
TEST_F(ActiveTabTest, GrantToSinglePage) {

Powered by Google App Engine
This is Rietveld 408576698