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

Unified Diff: content/browser/media/android/media_session_uma_helper.h

Issue 1579613003: Add UMA to check whether requestAudioFocus() is successful. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: content/browser/media/android/media_session_uma_helper.h
diff --git a/content/browser/media/android/media_session_uma_helper.h b/content/browser/media/android/media_session_uma_helper.h
index b8fb5d4caeb61dfced2cbf1194c18e88d8ad1225..69fbaa9363f7d7f597499d0a10b7e35c15def71f 100644
--- a/content/browser/media/android/media_session_uma_helper.h
+++ b/content/browser/media/android/media_session_uma_helper.h
@@ -32,6 +32,9 @@ class CONTENT_EXPORT MediaSessionUmaHelper {
void RecordSessionSuspended(MediaSessionSuspendedSource source) const;
+ // Record the result of calling the native requestAudioFocus().
+ void RecordRequestAudioFocusResult(bool result) const;
+
void OnSessionActive();
void OnSessionSuspended();
void OnSessionInactive();
« no previous file with comments | « content/browser/media/android/media_session.cc ('k') | content/browser/media/android/media_session_uma_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698