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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: add back histogram enums Created 3 years, 8 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/webui/ntp/ntp_user_data_logger.h
diff --git a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
index f36f2b523dbc0b3dc04372e7a8e619a0828d77ec..0e1ecd6cd290bba5e38e09dac602be28f87d3760 100644
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
@@ -13,7 +13,7 @@
#include "base/macros.h"
#include "base/time/time.h"
#include "chrome/common/search/ntp_logging_events.h"
-#include "components/ntp_tiles/ntp_tile_source.h"
+#include "components/ntp_tiles/tile_source.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
@@ -41,11 +41,11 @@ class NTPUserDataLogger
// Logs an impression on one of the NTP tiles by a given source.
void LogMostVisitedImpression(int position,
- ntp_tiles::NTPTileSource tile_source);
+ ntp_tiles::TileSource tile_source);
// Logs a navigation on one of the NTP tiles by a given source.
void LogMostVisitedNavigation(int position,
- ntp_tiles::NTPTileSource tile_source);
+ ntp_tiles::TileSource tile_source);
protected:
explicit NTPUserDataLogger(content::WebContents* contents);
@@ -84,7 +84,7 @@ class NTPUserDataLogger
// Stores the tile source for each impression. Entries are only valid if the
// corresponding entry in |impression_was_logged_| is true.
- std::vector<ntp_tiles::NTPTileSource> impression_tile_source_;
+ std::vector<ntp_tiles::TileSource> impression_tile_source_;
// The time we received the NTP_ALL_TILES_RECEIVED event.
base::TimeDelta tiles_received_time_;
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698