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

Unified Diff: content/browser/android/media_player_manager_android.h

Issue 11348199: Free (and pause) audio resources when getting a phone call (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@input_color
Patch Set: Created 8 years, 1 month 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
Index: content/browser/android/media_player_manager_android.h
diff --git a/content/browser/android/media_player_manager_android.h b/content/browser/android/media_player_manager_android.h
index 96efc1266f26139b4034ece40cd72a3cbc33e91d..9e7dc4bc8e858902486a05bece92be711e986fc3 100644
--- a/content/browser/android/media_player_manager_android.h
+++ b/content/browser/android/media_player_manager_android.h
@@ -48,6 +48,7 @@ class MediaPlayerManagerAndroid
// Callbacks needed by media::MediaPlayerBridge.
void OnPrepared(int player_id, base::TimeDelta duration);
void OnPlaybackComplete(int player_id);
+ void OnMediaInterrupted(int player_id);
void OnBufferingUpdate(int player_id, int percentage);
void OnSeekComplete(int player_id, base::TimeDelta current_time);
void OnError(int player_id, int error);
« no previous file with comments | « chrome/android/testshell/java/AndroidManifest.xml ('k') | content/browser/android/media_player_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698