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

Unified Diff: media/base/android_overlay_config.h

Issue 2883913003: Add multiple destruction callbacks to AndroidOverlay. (Closed)
Patch Set: rebased.... though i got not conflicts? Created 3 years, 7 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 | « media/base/android/mock_android_overlay.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android_overlay_config.h
diff --git a/media/base/android_overlay_config.h b/media/base/android_overlay_config.h
index de23d7ad51aac4d163e0255d6a6311f89ddfe9f7..4286114a4d250ba836e980a0410f173c9e259968 100644
--- a/media/base/android_overlay_config.h
+++ b/media/base/android_overlay_config.h
@@ -42,13 +42,9 @@ struct MEDIA_EXPORT AndroidOverlayConfig {
// Convenient helpers since the syntax is weird.
void is_ready(AndroidOverlay* overlay) { std::move(ready_cb).Run(overlay); }
void is_failed(AndroidOverlay* overlay) { std::move(failed_cb).Run(overlay); }
- void is_destroyed(AndroidOverlay* overlay) {
- std::move(destroyed_cb).Run(overlay);
- }
ReadyCB ready_cb;
FailedCB failed_cb;
- DestroyedCB destroyed_cb;
DISALLOW_COPY(AndroidOverlayConfig);
};
« no previous file with comments | « media/base/android/mock_android_overlay.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698