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

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: 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.h ('k') | chrome/browser/search/instant_service_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_service.cc
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
index 9a8903824a7824ac0a747996f05372aac0e9cbe8..a89f381a0536636dc8dc52a5134dbf056fa58e37 100644
--- a/chrome/browser/search/instant_service.cc
+++ b/chrome/browser/search/instant_service.cc
@@ -73,7 +73,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
@@ -297,12 +296,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);
« no previous file with comments | « chrome/browser/search/instant_service.h ('k') | chrome/browser/search/instant_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698