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

Unified Diff: chrome/browser/ui/search/instant_tab.cc

Issue 2124903003: Record impressions/navigations only once per tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: chrome/browser/ui/search/instant_tab.cc
diff --git a/chrome/browser/ui/search/instant_tab.cc b/chrome/browser/ui/search/instant_tab.cc
index 7c60de47e8c90f9ba0d9d804759fe582f86a757d..552348ca102671e00cf91bd3565c5f3ca7d9d078 100644
--- a/chrome/browser/ui/search/instant_tab.cc
+++ b/chrome/browser/ui/search/instant_tab.cc
@@ -25,12 +25,6 @@ void InstantTab::TabDeactivated(content::WebContents* contents) {
NTPUserDataLogger::GetOrCreateFromWebContents(contents)->TabDeactivated();
}
-// static
-void InstantTab::MostVisitedItemsChanged(content::WebContents* contents) {
- NTPUserDataLogger::GetOrCreateFromWebContents(contents)
- ->MostVisitedItemsChanged();
-}
-
bool InstantTab::ShouldProcessAboutToNavigateMainFrame() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698