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

Unified Diff: components/ntp_tiles/most_visited_sites.h

Issue 2172203002: Enable Popular Sites in Android demo mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x Created 4 years, 5 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
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 2d77e18fc0aa34c3da8293a9b2ef10714e14da56..2fa02face3df2d04d9eb2cc991423b5c0e229e3b 100644
--- a/components/ntp_tiles/most_visited_sites.h
+++ b/components/ntp_tiles/most_visited_sites.h
@@ -161,6 +161,10 @@ class MostVisitedSites : public history::TopSitesObserver,
~MostVisitedSites() override;
+#if defined(OS_ANDROID)
+ static bool Register(JNIEnv* env);
+#endif
+
// Does not take ownership of |observer|, which must outlive this object and
// must not be null.
void SetMostVisitedURLsObserver(Observer* observer, int num_sites);

Powered by Google App Engine
This is Rietveld 408576698