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

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

Issue 1491943002: Refactoring media notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added two MediaSessionBrowserTests to test MediaSession.Stop() Created 5 years 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.h
diff --git a/content/browser/media/android/media_session.h b/content/browser/media/android/media_session.h
index 9ba76c35936db3e490518fec243daa8a03292981..b4a8424be009821fb545d8654bbe724c027a92b1 100644
--- a/content/browser/media/android/media_session.h
+++ b/content/browser/media/android/media_session.h
@@ -136,7 +136,7 @@ class CONTENT_EXPORT MediaSession
// Setup the JNI.
void Initialize();
- void OnSuspendInternal(SuspendType type);
+ void OnSuspendInternal(SuspendType type, State new_state);
void OnResumeInternal(SuspendType type);
// Requests audio focus to Android using |j_media_session_|.

Powered by Google App Engine
This is Rietveld 408576698