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

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

Issue 2544883006: Cleanup: Replace NTPLoggingTileSource by ntp_tiles::NTPTileSource (Closed)
Patch Set: tests Created 4 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/ui/search/search_tab_helper.cc
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
index fde20f82b2645b78af9d98a87834253b8e366063..4264cbd0029175feb34a0e58684fa5f17ef45cc2 100644
--- a/chrome/browser/ui/search/search_tab_helper.cc
+++ b/chrome/browser/ui/search/search_tab_helper.cc
@@ -387,7 +387,8 @@ void SearchTabHelper::OnLogEvent(NTPLoggingEventType event,
}
void SearchTabHelper::OnLogMostVisitedImpression(
- int position, NTPLoggingTileSource tile_source) {
+ int position,
+ ntp_tiles::NTPTileSource tile_source) {
// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
#if !defined(OS_ANDROID)
NTPUserDataLogger::GetOrCreateFromWebContents(
@@ -396,7 +397,8 @@ void SearchTabHelper::OnLogMostVisitedImpression(
}
void SearchTabHelper::OnLogMostVisitedNavigation(
- int position, NTPLoggingTileSource tile_source) {
+ int position,
+ ntp_tiles::NTPTileSource tile_source) {
// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
#if !defined(OS_ANDROID)
NTPUserDataLogger::GetOrCreateFromWebContents(
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper.h ('k') | chrome/browser/ui/search/search_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698