Index: chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc |
diff --git a/chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc b/chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc |
index 917e01a0ea08f7c674753c610cb8c1aa62644765..026902329c023aeb50b32359f4b249dea5473047 100644 |
--- a/chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc |
+++ b/chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc |
@@ -3,9 +3,6 @@ |
// found in the LICENSE file. |
#include "base/memory/scoped_ptr.h" |
-#include "base/metrics/histogram.h" |
-#include "base/metrics/histogram_samples.h" |
-#include "base/metrics/statistics_recorder.h" |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/content_settings/host_content_settings_map.h" |
#include "chrome/browser/search/search.h" |
@@ -14,13 +11,8 @@ |
#include "chrome/common/content_settings.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/test/base/testing_profile.h" |
-#include "content/public/test/test_browser_thread_bundle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-using base::HistogramBase; |
-using base::HistogramSamples; |
-using base::StatisticsRecorder; |
- |
class TestableInstantNTP : public InstantNTP { |
public: |
TestableInstantNTP(InstantNTPPrerenderer* ntp_prerenderer, |
@@ -127,7 +119,6 @@ class InstantNTPPrerendererTest : public testing::Test { |
public: |
InstantNTPPrerendererTest() |
: instant_ntp_prerenderer_(new TestableInstantNTPPrerenderer(&profile_)) { |
- base::StatisticsRecorder::Initialize(); |
chrome::EnableInstantExtendedAPIForTesting(); |
} |
@@ -140,7 +131,6 @@ class InstantNTPPrerendererTest : public testing::Test { |
} |
private: |
- content::TestBrowserThreadBundle thread_bundle_; |
scoped_ptr<TestableInstantNTPPrerenderer> instant_ntp_prerenderer_; |
mutable TestingProfile profile_; |
}; |