Lines Matching full:callback
29 // Invoking CanDownloadOnIOThread notifies the callback and may update the
57 // The callback from CanDownloadOnIOThread. This is invoked on the io thread.
58 class Callback {
64 virtual ~Callback() {}
106 // callback.
108 DownloadRequestLimiter::Callback* callback);
156 std::vector<DownloadRequestLimiter::Callback*> callbacks_;
173 // Updates the state of the page as necessary and notifies the callback.
174 // WARNING: both this call and the callback are invoked on the io thread.
176 // DownloadRequestLimiter does not retain/release the Callback. It is up to
177 // the caller to ensure the callback is valid until the request is complete.
181 Callback* callback);
222 Callback* callback);
228 Callback* callback);
232 void ScheduleNotification(Callback* callback, bool allow);
234 // Notifies the callback. This *must* be invoked on the IO thread.
235 void NotifyCallback(Callback* callback, bool allow);