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

Unified Diff: components/ntp_tiles/most_visited_sites.h

Issue 2332353006: Use NTPTileSource in MVS interface. (Closed)
Patch Set: Created 4 years, 3 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/browser/android/ntp/most_visited_sites_bridge.cc ('k') | components/ntp_tiles/most_visited_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/most_visited_sites.h
diff --git a/components/ntp_tiles/most_visited_sites.h b/components/ntp_tiles/most_visited_sites.h
index 77440f4f2a9577ac948d22580dd9e43960dbb06b..83f2706402b01c0cf6342f9d07dff1bcf1d66f7c 100644
--- a/components/ntp_tiles/most_visited_sites.h
+++ b/components/ntp_tiles/most_visited_sites.h
@@ -130,8 +130,10 @@ class MostVisitedSites : public history::TopSitesObserver,
void AddOrRemoveBlacklistedUrl(const GURL& url, bool add_url);
void RecordTileTypeMetrics(const std::vector<int>& tile_types,
- const std::vector<int>& sources);
- void RecordOpenedMostVisitedItem(int index, int tile_type, int source);
+ const std::vector<NTPTileSource>& sources);
+ void RecordOpenedMostVisitedItem(int index,
+ int tile_type,
Marc Treib 2016/09/14 08:55:08 Also use the enum for tile_type?
sfiera 2016/09/14 19:09:52 Done.
+ NTPTileSource source);
// MostVisitedSitesSupervisor::Observer implementation.
void OnBlockedSitesChanged() override;
« no previous file with comments | « chrome/browser/android/ntp/most_visited_sites_bridge.cc ('k') | components/ntp_tiles/most_visited_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698