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

Unified Diff: chrome/browser/search/instant_service.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: Created 5 years 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
Index: chrome/browser/search/instant_service.cc
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
index 1c168e92b837f1ec8d6bc1b5900ee69725afac33..ff33a789f0b856ed1fb61dd398f9b79bb3da1a44 100644
--- a/chrome/browser/search/instant_service.cc
+++ b/chrome/browser/search/instant_service.cc
@@ -70,7 +70,6 @@ bool IsLocalNTPSuggestionServiceEnabled() {
InstantService::InstantService(Profile* profile)
: profile_(profile),
template_url_service_(TemplateURLServiceFactory::GetForProfile(profile_)),
- omnibox_start_margin_(search::kDisableStartMargin),
suggestions_service_(NULL),
weak_ptr_factory_(this) {
// The initialization below depends on a typical set of browser threads. Skip
@@ -294,12 +293,6 @@ void InstantService::SendSearchURLsToRenderer(content::RenderProcessHost* rph) {
search::GetSearchURLs(profile_), search::GetNewTabPageURL(profile_)));
}
-void InstantService::OnOmniboxStartMarginChanged(int start_margin) {
- omnibox_start_margin_ = start_margin;
- FOR_EACH_OBSERVER(InstantServiceObserver, observers_,
- OmniboxStartMarginChanged(omnibox_start_margin_));
-}
-
void InstantService::OnRendererProcessTerminated(int process_id) {
process_ids_.erase(process_id);

Powered by Google App Engine
This is Rietveld 408576698