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

Unified Diff: chrome/browser/android/ntp/popular_sites.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: chrome/browser/android/ntp/popular_sites.cc
diff --git a/chrome/browser/android/ntp/popular_sites.cc b/chrome/browser/android/ntp/popular_sites.cc
index 3413ce436c3532d4787b60ab4ffdefca83daed26..c09ba8fc6200ca83036cdeb84888efb85ae40170 100644
--- a/chrome/browser/android/ntp/popular_sites.cc
+++ b/chrome/browser/android/ntp/popular_sites.cc
@@ -15,11 +15,11 @@
#include "components/safe_json/safe_json_parser.h"
#include "content/public/browser/browser_thread.h"
-std::unique_ptr<ntp_tiles::PopularSites> ChromePopularSites::NewForProfile(
+std::unique_ptr<ntp_tiles::PopularSitesImpl> ChromePopularSites::NewForProfile(
Profile* profile) {
base::FilePath directory; // remains empty if PathService::Get() fails.
PathService::Get(chrome::DIR_USER_DATA, &directory);
- return base::MakeUnique<ntp_tiles::PopularSites>(
+ return base::MakeUnique<ntp_tiles::PopularSitesImpl>(
content::BrowserThread::GetBlockingPool(), profile->GetPrefs(),
TemplateURLServiceFactory::GetForProfile(profile),
g_browser_process->variations_service(), profile->GetRequestContext(),

Powered by Google App Engine
This is Rietveld 408576698