Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / common / gpu / media / android_video_decode_accelerator.h
index 35f7ae0..cc963c8 100644 (file)
@@ -77,9 +77,6 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
   // client.
   void DequeueOutput();
 
-  // Notifies the client that initialize was completed.
-  void NotifyInitializeDone();
-
   // Requests picture buffers from the client.
   void RequestPictureBuffers();
 
@@ -164,6 +161,9 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
   // Repeating timer responsible for draining pending IO to the codec.
   base::RepeatingTimer<AndroidVideoDecodeAccelerator> io_timer_;
 
+  // WeakPtrFactory for posting tasks back to |this|.
+  base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_;
+
   friend class AndroidVideoDecodeAcceleratorTest;
 };