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

Unified Diff: ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc

Issue 2570783003: [Popular Sites] Split PopularSites interface and PopularSitesImpl (Closed)
Patch Set: Split PopularSitesImpl. 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: ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc
diff --git a/ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc b/ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc
index c22c471567b4b28c593cad618dfb0c3b0e0a304b..29f3e620ef73bc64b87da4bb310717ad2f37ea8f 100644
--- a/ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc
+++ b/ios/chrome/browser/ui/webui/popular_sites_internals_ui.cc
@@ -31,7 +31,7 @@ class IOSPopularSitesInternalsMessageHandlerBridge
// ntp_tiles::PopularSitesInternalsMessageHandlerClient
base::SequencedWorkerPool* GetBlockingPool() override;
- std::unique_ptr<ntp_tiles::PopularSites> MakePopularSites() override;
+ std::unique_ptr<ntp_tiles::PopularSitesImpl> MakePopularSites() override;
PrefService* GetPrefs() override;
void RegisterMessageCallback(
const std::string& message,
@@ -54,7 +54,7 @@ IOSPopularSitesInternalsMessageHandlerBridge::GetBlockingPool() {
return web::WebThread::GetBlockingPool();
}
-std::unique_ptr<ntp_tiles::PopularSites>
+std::unique_ptr<ntp_tiles::PopularSitesImpl>
IOSPopularSitesInternalsMessageHandlerBridge::MakePopularSites() {
return IOSPopularSitesFactory::NewForBrowserState(
ios::ChromeBrowserState::FromWebUIIOS(web_ui()));
« components/ntp_tiles/popular_sites.h ('K') | « ios/chrome/browser/prefs/browser_prefs.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698