Home | History | Annotate | Download | only in system

Lines Matching refs:RequestContext

21 // A RequestContext is a thread-local object which exists for the duration of
26 // NOTE: It is legal to construct a RequestContext while another one already
29 // |RequestContext::current()| rather than referring to any local instance
31 class MOJO_SYSTEM_IMPL_EXPORT RequestContext {
33 // Identifies the source of the current stack frame's RequestContext.
39 // Constructs a RequestContext with a LOCAL_API_CALL Source.
40 RequestContext();
42 explicit RequestContext(Source source);
43 ~RequestContext();
45 // Returns the current thread-local RequestContext.
46 static RequestContext* current();
50 // Adds a finalizer to this RequestContext corresponding to a watch callback
52 // the Watcher hasn't been cancelled by the time this RequestContext is
59 // Adds a finalizer to this RequestContext which cancels a watch.
81 // any RequestContext and adjust this number accordingly. It's probably
98 base::ThreadLocalPointer<RequestContext>* tls_context_;
100 DISALLOW_COPY_AND_ASSIGN(RequestContext);