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

Unified Diff: chrome/browser/search/instant_service_unittest.cc

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 12 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 | « chrome/browser/search/instant_service_observer.cc ('k') | chrome/browser/search/instant_unittest_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_service_unittest.cc
diff --git a/chrome/browser/search/instant_service_unittest.cc b/chrome/browser/search/instant_service_unittest.cc
index 4b5f0f77da51b7aee1213d727bc40238d979234c..dcfe926beea6ab1bfe505207a8adff12bd865489 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();
« no previous file with comments | « chrome/browser/search/instant_service_observer.cc ('k') | chrome/browser/search/instant_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698