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

Unified Diff: chrome/browser/android/ntp/popular_sites.h

Issue 2457033003: Add chrome://popular-sites-internals/ to iOS. (Closed)
Patch Set: Break out ...Client. Created 4 years, 1 month 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.h
diff --git a/chrome/browser/android/ntp/popular_sites.h b/chrome/browser/android/ntp/popular_sites.h
index c592d9ae5a1421ee0b75906207fd5909b4f8653a..07d37306ead33594c6c5ba696c302dedfe71e162 100644
--- a/chrome/browser/android/ntp/popular_sites.h
+++ b/chrome/browser/android/ntp/popular_sites.h
@@ -5,14 +5,22 @@
#ifndef CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_
#define CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_
+#include <memory>
+
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "components/ntp_tiles/popular_sites.h"
+
+class Profile;
+
+namespace ntp_tiles {
+class PopularSites;
+} // namespace ntp_tiles
// TODO(sfiera): move to chrome_popular_sites.h
class ChromePopularSites {
public:
- static base::FilePath GetDirectory();
+ static std::unique_ptr<ntp_tiles::PopularSites> NewForProfile(
+ Profile* profile);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ChromePopularSites);
« no previous file with comments | « chrome/browser/android/ntp/most_visited_sites_bridge.cc ('k') | chrome/browser/android/ntp/popular_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698