Commit e130a701 authored by kmadhusu@chromium.org's avatar kmadhusu@chromium.org

[Clean up] Delete InstantUnitTestBase::SetUpWithoutCacheableNTP().

Follow up of crrev.com/141893009.

BUG=none
TEST=none

Review URL: https://codereview.chromium.org/164023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251152 0039d316-1c4b-4281-b951-d872f2087c98
parent eda01dc8
......@@ -36,7 +36,7 @@ class MockInstantServiceObserver : public InstantServiceObserver {
class InstantServiceTest : public InstantUnitTestBase {
protected:
virtual void SetUp() OVERRIDE {
InstantUnitTestBase::SetUpWithoutCacheableNTP();
InstantUnitTestBase::SetUp();
instant_service_observer_.reset(new MockInstantServiceObserver());
instant_service_->AddObserver(instant_service_observer_.get());
......
......@@ -37,12 +37,6 @@ void InstantUnitTestBase::SetUp() {
SetUpHelper();
}
void InstantUnitTestBase::SetUpWithoutCacheableNTP() {
ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial(
"InstantExtended", "Group1 use_cacheable_ntp:0"));
SetUpHelper();
}
void InstantUnitTestBase::SetUpHelper() {
chrome::EnableQueryExtractionForTesting();
BrowserWithTestWindowTest::SetUp();
......
......@@ -25,7 +25,6 @@ class InstantUnitTestBase : public BrowserWithTestWindowTest {
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
virtual void SetUpWithoutCacheableNTP();
virtual void SetUpHelper();
// Adds and sets the default search provider using the base_url.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment