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_ |