Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: content/common/gpu/media/android_video_decode_accelerator.h

Issue 185403020: Make VEA client of command buffer; move sync. IPC to VDA/VEA::Initialize() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 7da5b6ec Rebase. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/android_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/android_video_decode_accelerator.h
diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
index 35f7ae0caa6c437625a486f48eb1b638dcf783ac..cc963c83bf4a49442f29dbb7d2a4c2d7cb059363 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.h
+++ b/content/common/gpu/media/android_video_decode_accelerator.h
@@ -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;
};
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698