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

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

Issue 1698933004: Make MediaSession a runtime-enabled feature on Desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
Index: content/browser/media/android/media_session_observer.h
diff --git a/content/browser/media/android/media_session_observer.h b/content/browser/media/android/media_session_observer.h
deleted file mode 100644
index ebf9bec1fe5f97d964918f7d463bf767c94efad2..0000000000000000000000000000000000000000
--- a/content/browser/media/android/media_session_observer.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_SESSION_OBSERVER_H_
-#define CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_SESSION_OBSERVER_H_
-
-namespace content {
-
-class MediaSessionObserver {
- public:
- MediaSessionObserver() = default;
- virtual ~MediaSessionObserver() = default;
-
- // The given |player_id| has been suspended by the MediaSession.
- virtual void OnSuspend(int player_id) = 0;
-
- // The given |player_id| has been resumed by the MediaSession.
- virtual void OnResume(int player_id) = 0;
-
- // The given |player_id| has been set a new volume multiplier by
- // the MediaSession.
- virtual void OnSetVolumeMultiplier(int player_id,
- double volume_multiplier) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_SESSION_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698