Home | History | Annotate | Download | only in history

Lines Matching defs:Request

28   // Handles all the work of making an API request. This class encapsulates
29 // the entire state of the request. When an instance is destroyed, all
30 // aspects of the request are cancelled.
31 class Request {
33 virtual ~Request();
35 // Returns true if the request is "pending" (i.e., it has been started, but
40 Request();
46 typedef base::Callback<void(Request*, const base::DictionaryValue*)>
49 typedef base::Callback<void(Request*, bool success)>
59 // The caller takes ownership of the returned Request. If it is destroyed, the
60 // request is cancelled.
61 scoped_ptr<Request> QueryHistory(
68 // The caller takes ownership of the returned Request. If it is destroyed, the
69 // request is cancelled.
70 scoped_ptr<Request> ExpireHistory(
76 scoped_ptr<Request> ExpireHistoryBetween(
83 // Called by |request| when a web history query has completed. Unpacks the
88 WebHistoryService::Request* request,
91 // Called by |request| when a request to delete history from the server has
96 WebHistoryService::Request* request,