Lines Matching full:suggestions
20 #include "components/suggestions/image_manager.h"
21 #include "components/suggestions/proto/suggestions.pb.h"
22 #include "components/suggestions/suggestions_utils.h"
35 namespace suggestions {
50 // An interface to fetch server suggestions asynchronously.
68 // Request suggestions data, which will be passed to |callback|. |sync_state|
72 // (see suggestions::GetSyncState). Callers should call this function again if
101 // Sets default timestamp for suggestions which do not have expiry timestamp.
102 void SetDefaultExpiryTimestamp(SuggestionsProfile* suggestions,
117 // Creates a request to the suggestions service, properly setting headers.
120 // Called to service the requestors if the issued suggestions request has
125 // Called when fetch request completes. Parses the received suggestions data,
132 // Load the cached suggestions and service the requestors with them.
135 // Apply the local blacklist to |suggestions|, then serve the requestors.
136 void FilterAndServe(SuggestionsProfile* suggestions);
156 // The cache for the suggestions.
162 // Contains the current suggestions fetch request. Will only have a value
166 // A closure that is run on a timeout from issuing the suggestions fetch
170 // The start time of the previous suggestions request. This is used to measure
174 // The URL to fetch suggestions data from.
191 // Timeout (in ms) before serving requestors after a fetch suggestions request
201 } // namespace suggestions