Lines Matching defs:suggestions
9 #include "components/suggestions/proto/suggestions.pb.h"
17 namespace suggestions {
19 // A helper class for reading and writing the suggestions to the profile's
27 // |suggestions|. If there is a problem with loading, the pref value is
28 // cleared, false is returned and |suggestions| is cleared. If successful,
29 // |suggestions| will contain the loaded data and true is returned.
30 virtual bool LoadSuggestions(SuggestionsProfile* suggestions);
32 // Stores the provided |suggestions| to the profile's preferences, using
34 virtual bool StoreSuggestions(const SuggestionsProfile& suggestions);
47 // The pref service used to persist the suggestions data.
52 // Filters expired suggestions.
53 void FilterExpiredSuggestions(SuggestionsProfile* suggestions);
56 } // namespace suggestions