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

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

Issue 2127783002: Make EmitNtpStatistics() private. (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_controller.cc
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
index 33ed4b3b9b806cc7e9936a511c544c949c79399e..d1f628f8ce72dd1fa1e586082dbd0c4b3983ea73 100644
--- a/chrome/browser/ui/search/instant_controller.cc
+++ b/chrome/browser/ui/search/instant_controller.cc
@@ -108,10 +108,9 @@ void InstantController::ActiveTabChanged() {
}
void InstantController::TabDeactivated(content::WebContents* contents) {
- // If user is deactivating an NTP tab, log the number of mouseovers for this
- // NTP session.
+ // If user is deactivating an NTP tab, give it a change to log stats.
if (search::IsInstantNTP(contents))
- InstantTab::EmitNtpStatistics(contents);
+ InstantTab::TabDeactivated(contents);
}
void InstantController::LogDebugEvent(const std::string& info) const {
« no previous file with comments | « no previous file | chrome/browser/ui/search/instant_tab.h » ('j') | chrome/browser/ui/webui/ntp/ntp_user_data_logger.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698