| 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 16e6ce488c4e123a203632bba59571742cf8fc36..879ee867fbb23b8344bb7a7b48b884ec3acfe295 100644
|
| --- a/chrome/browser/ui/search/search_tab_helper.cc
|
| +++ b/chrome/browser/ui/search/search_tab_helper.cc
|
| @@ -468,20 +468,29 @@ void SearchTabHelper::OnUndoAllMostVisitedDeletions() {
|
| }
|
|
|
| void SearchTabHelper::OnLogEvent(NTPLoggingEventType event) {
|
| +// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
|
| +#if !defined(OS_ANDROID)
|
| NTPUserDataLogger::GetOrCreateFromWebContents(
|
| web_contents())->LogEvent(event);
|
| +#endif
|
| }
|
|
|
| void SearchTabHelper::OnLogMostVisitedImpression(
|
| int position, const base::string16& provider) {
|
| +// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
|
| +#if !defined(OS_ANDROID)
|
| NTPUserDataLogger::GetOrCreateFromWebContents(
|
| web_contents())->LogMostVisitedImpression(position, provider);
|
| +#endif
|
| }
|
|
|
| void SearchTabHelper::OnLogMostVisitedNavigation(
|
| int position, const base::string16& provider) {
|
| +// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
|
| +#if !defined(OS_ANDROID)
|
| NTPUserDataLogger::GetOrCreateFromWebContents(
|
| web_contents())->LogMostVisitedNavigation(position, provider);
|
| +#endif
|
| }
|
|
|
| void SearchTabHelper::PasteIntoOmnibox(const base::string16& text) {
|
|
|