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

Unified Diff: chrome/common/search/ntp_logging_events.h

Issue 2117373002: Cleanup: Change LogMostVisitedImpression|Navigation APIs to take an enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ntp_uma_cleanup
Patch Set: rebase 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search/ntp_logging_events.h
diff --git a/chrome/common/search/ntp_logging_events.h b/chrome/common/search/ntp_logging_events.h
index edad751279778dd21ab18b223e25b1245fe60c0e..5bee7dfe64dafc5980ff0b0433038de32812bb49 100644
--- a/chrome/common/search/ntp_logging_events.h
+++ b/chrome/common/search/ntp_logging_events.h
@@ -49,4 +49,14 @@ enum NTPLoggingEventType {
NTP_EVENT_TYPE_LAST = NTP_TILE_LOADED
};
+// The source of an NTP tile.
+// Note: Keep in sync with browser/resources/local_ntp/most_visited_util.js and
+// browser/resources/local_ntp/most_visited_single.js.
+// TODO(treib): Merge this into MostVisitedSource from components/ntp_tiles.
+enum class NTPLoggingTileSource {
+ CLIENT = 0,
+ SERVER = 1,
+ LAST = SERVER
+};
+
#endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698