Searched defs:TrackedCallback (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
H A Dtracked_callback.cc31 int32_t RunCompletionTask(TrackedCallback::CompletionTask completion_task,
41 // TrackedCallback -------------------------------------------------------------
44 TrackedCallback::TrackedCallback(Resource* resource, function in class:ppapi::TrackedCallback
83 TrackedCallback::~TrackedCallback() {}
85 void TrackedCallback::Abort() { Run(PP_ERROR_ABORTED); }
87 void TrackedCallback::PostAbort() { PostRun(PP_ERROR_ABORTED); }
89 void TrackedCallback::Run(int32_t result) {
121 scoped_refptr<TrackedCallback> thi
[all...]
H A Dtracked_callback.h35 // |TrackedCallback| represents a tracked Pepper callback (from the browser to
38 // objects of subclasses of |TrackedCallback|. Two things are ensured: (1) that
62 class PPAPI_SHARED_EXPORT TrackedCallback class in namespace:ppapi
63 : public base::RefCountedThreadSafe<TrackedCallback> {
68 TrackedCallback(Resource* resource, const PP_CompletionCallback& callback);
124 static bool IsPending(const scoped_refptr<TrackedCallback>& callback);
128 static bool IsScheduledToRun(const scoped_refptr<TrackedCallback>& callback);
142 // TrackedCallback and EnterBase manage dealing with how to invoke callbacks
157 friend class base::RefCountedThreadSafe<TrackedCallback>;
158 virtual ~TrackedCallback();
[all...]

Completed in 115 milliseconds