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

Unified Diff: chrome/browser/android/most_visited_sites.h

Issue 701353004: [Most Visited] Only log impression metrics on initial NTP load. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | chrome/browser/android/most_visited_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/most_visited_sites.h
diff --git a/chrome/browser/android/most_visited_sites.h b/chrome/browser/android/most_visited_sites.h
index 63c1ed40cef55d33ecb5a14808a8af105bdbbadc..15e3f10e399edbd454cb6eb6b83826110f01089c 100644
--- a/chrome/browser/android/most_visited_sites.h
+++ b/chrome/browser/android/most_visited_sites.h
@@ -112,6 +112,9 @@ class MostVisitedSites : public ProfileSyncServiceObserver,
// Whether the user is in a control group for the purposes of logging.
bool is_control_group_;
+ // Keeps track of whether the initial NTP load has been done.
+ bool initial_load_done_;
+
// Counters for UMA metrics.
// Number of tiles using a local thumbnail image for this NTP session.
« no previous file with comments | « no previous file | chrome/browser/android/most_visited_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698