#include "base/compiler_specific.h"
#include "base/memory/linked_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "base/win/scoped_comptr.h"
#include "content/common/content_export.h"
// been processed.
void NotifyInputBufferRead(int input_buffer_id);
- // Notifies the client that initialize was completed.
- void NotifyInitializeDone();
-
// Notifies the client that the decoder was flushed.
void NotifyFlushDone();
// Callback to set the correct gl context.
base::Callback<bool(void)> make_context_current_;
+
+ // WeakPtrFactory for posting tasks back to |this|.
+ base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
};
} // namespace content