Lines Matching defs:RequestContext
37 // The "RequestContext" structure describes an individual request received from
39 class HistogramSynchronizer::RequestContext {
42 typedef std::map<int, RequestContext*> RequestContextMap;
44 RequestContext(const base::Closure& callback, int sequence_number)
50 ~RequestContext() {}
76 RequestContext::Unregister(sequence_number_);
84 RequestContext* request = new RequestContext(callback, sequence_number);
88 // Find the |RequestContext| in |outstanding_requests_| map for the given
90 static RequestContext* GetRequestContext(int sequence_number) {
98 RequestContext* request = it->second;
114 RequestContext* request = it->second;
155 // RequestContext.
161 <HistogramSynchronizer::RequestContext::RequestContextMap>::Leaky
162 HistogramSynchronizer::RequestContext::outstanding_requests_ =
174 RequestContext::OnShutdown();
241 RequestContext::Register(callback, sequence_number);
250 base::Bind(&RequestContext::Unregister, sequence_number),
259 RequestContext* request = RequestContext::GetRequestContext(sequence_number);
275 RequestContext* request = RequestContext::GetRequestContext(sequence_number);