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

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

Issue 10703158: Change ActiveTabTest to do setup in SetUp rather than its constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SetUp Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c1c00e9b9230aaaf762a103cf983d215a65a7a8b..7db3c85f925b8695edfdc32a3e02f9c309b18fad 100644
--- a/chrome/browser/extensions/active_tab_unittest.cc
+++ b/chrome/browser/extensions/active_tab_unittest.cc
@@ -64,6 +64,10 @@ class ActiveTabTest : public TabContentsTestHarness {
extension_without_active_tab(
CreateTestExtension("without activeTab", false)),
ui_thread_(BrowserThread::UI, MessageLoop::current()) {
+ }
+
+ virtual void SetUp() {
+ TabContentsTestHarness::SetUp();
Feature::SetChannelForTesting(chrome::VersionInfo::CHANNEL_UNKNOWN);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698