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

Unified Diff: components/ntp_tiles/most_visited_sites.h

Issue 2579813002: ntp_tiles: Add tests covering tile-fetching logic (Closed)
Patch Set: Created 4 years 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: 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 b4c9660b05a828a2e3c833a747a8ab6c949b78b5..cb553f0502d78d0718357cfeaad234fbd03217bc 100644
--- a/components/ntp_tiles/most_visited_sites.h
+++ b/components/ntp_tiles/most_visited_sites.h
@@ -28,9 +28,8 @@ namespace history {
class TopSites;
}
-namespace user_prefs {
-class PrefRegistrySyncable;
-}
+class PrefRegistrySimple;
+class PrefService;
class PrefService;
@@ -116,7 +115,7 @@ class MostVisitedSites : public history::TopSitesObserver,
// MostVisitedSitesSupervisor::Observer implementation.
void OnBlockedSitesChanged() override;
- static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+ static void RegisterProfilePrefs(PrefRegistrySimple* registry);
// Workhorse for SaveNewTiles. Implemented as a separate static and public
// method for ease of testing.
« no previous file with comments | « no previous file | components/ntp_tiles/most_visited_sites.cc » ('j') | components/ntp_tiles/most_visited_sites.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698