summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search/instant_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/search/instant_service_unittest.cc')
-rw-r--r--chrome/browser/search/instant_service_unittest.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/search/instant_service_unittest.cc b/chrome/browser/search/instant_service_unittest.cc
index 4b5f0f7..dcfe926 100644
--- a/chrome/browser/search/instant_service_unittest.cc
+++ b/chrome/browser/search/instant_service_unittest.cc
@@ -30,7 +30,6 @@
class MockInstantServiceObserver : public InstantServiceObserver {
public:
MOCK_METHOD1(DefaultSearchProviderChanged, void(bool));
- MOCK_METHOD1(OmniboxStartMarginChanged, void(int));
};
class InstantServiceTest : public InstantUnitTestBase {
@@ -51,10 +50,6 @@ class InstantServiceTest : public InstantUnitTestBase {
return instant_service_->instant_search_prerenderer();
}
- void UpdateOmniboxStartMargin(int start_margin) {
- instant_service_->OnOmniboxStartMarginChanged(start_margin);
- }
-
scoped_ptr<MockInstantServiceObserver> instant_service_observer_;
};
@@ -159,13 +154,6 @@ TEST_F(InstantServiceEnabledTest,
EXPECT_NE(old_prerenderer, GetInstantSearchPrerenderer());
}
-TEST_F(InstantServiceTest, OmniboxStartMarginChanged) {
- int new_start_margin = 92;
- EXPECT_CALL(*instant_service_observer_.get(),
- OmniboxStartMarginChanged(new_start_margin)).Times(1);
- UpdateOmniboxStartMargin(new_start_margin);
-}
-
TEST_F(InstantServiceTest, GetSuggestionFromServiceSide) {
auto profile = suggestions::SuggestionsProfile();
profile.add_suggestions();