Index: ppapi/shared_impl/tracked_callback.h |
diff --git a/ppapi/shared_impl/tracked_callback.h b/ppapi/shared_impl/tracked_callback.h |
index 4917990e3cfeafa31ebb70623bc4538c1685b3a9..5424eeb38bb5cf383576c1a81d4e957736e6f0d5 100644 |
--- a/ppapi/shared_impl/tracked_callback.h |
+++ b/ppapi/shared_impl/tracked_callback.h |
@@ -112,11 +112,12 @@ class PPAPI_SHARED_EXPORT TrackedCallback |
// message loop. |
static bool IsScheduledToRun(const scoped_refptr<TrackedCallback>& callback); |
- protected: |
+ // Returns true if this is a blocking callback. |
bool is_blocking() { |
return !callback_.func; |
} |
+ protected: |
bool is_required() { |
return (callback_.func && |
!(callback_.flags & PP_COMPLETIONCALLBACK_FLAG_OPTIONAL)); |