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

Unified Diff: components/suggestions/blacklist_store.h

Issue 1259123002: SuggestionsService support for Desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | components/suggestions/suggestions_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/blacklist_store.h
diff --git a/components/suggestions/blacklist_store.h b/components/suggestions/blacklist_store.h
index 6d1bc732311acbb91d3834878dbfc1837c1ab2b7..a76a6c985ed30437af7e77dae96783ceea08038f 100644
--- a/components/suggestions/blacklist_store.h
+++ b/components/suggestions/blacklist_store.h
@@ -38,6 +38,9 @@ class BlacklistStore {
// was already in the blacklist, its blacklisting timestamp gets updated.
virtual bool BlacklistUrl(const GURL& url);
+ // Clears any blacklist data from the profile's preferences.
+ virtual void ClearBlacklist();
+
// Gets the time until any URL is ready for upload. Returns false if the
// blacklist is empty.
virtual bool GetTimeUntilReadyForUpload(base::TimeDelta* delta);
@@ -76,9 +79,6 @@ class BlacklistStore {
// a base64 encoding of its protobuf serialization.
bool StoreBlacklist(const SuggestionsBlacklist& blacklist);
- // Clears any blacklist data from the profile's preferences.
- void ClearBlacklist();
-
private:
// The pref service used to persist the suggestions blacklist.
PrefService* pref_service_;
« no previous file with comments | « no previous file | components/suggestions/suggestions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698