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

Unified Diff: chrome/browser/engagement/important_sites_util.h

Issue 2669873002: [ImportantSites] Implementing dialog level blacklisting and blacklist expiration (Closed)
Patch Set: android compile Created 3 years, 10 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: chrome/browser/engagement/important_sites_util.h
diff --git a/chrome/browser/engagement/important_sites_util.h b/chrome/browser/engagement/important_sites_util.h
index c6259358d959f24f5ae8e69d775fb82413021643..408dff05d7c3f92d8115c2b426b2f2caca2629b0 100644
--- a/chrome/browser/engagement/important_sites_util.h
+++ b/chrome/browser/engagement/important_sites_util.h
@@ -13,6 +13,10 @@
class Profile;
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
class ImportantSitesUtil {
public:
struct ImportantDomainInfo {
@@ -22,6 +26,10 @@ class ImportantSitesUtil {
int32_t reason_bitfield = 0;
};
+ static bool IsDialogDisabled(Profile* profile);
+
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+
// This returns the top |<=max_results| important registrable domains. This
// uses site engagement and notifications to generate the list. |max_results|
// is assumed to be small.
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge.cc ('k') | chrome/browser/engagement/important_sites_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698