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

Unified Diff: content/renderer/media/android/webmediasession_android.h

Issue 1415923003: Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « content/content_renderer.gypi ('k') | content/renderer/media/android/webmediasession_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediasession_android.h
diff --git a/content/renderer/media/android/webmediasession_android.h b/content/renderer/media/android/webmediasession_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..3ae7e165bbb6f2d501d460234d494e934ac9d6f9
--- /dev/null
+++ b/content/renderer/media/android/webmediasession_android.h
@@ -0,0 +1,27 @@
+// 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_RENDERER_MEDIA_ANDROID_WEBMEDIASESSION_ANDROID_H_
+#define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIASESSION_ANDROID_H_
+
+#include "base/macros.h"
+#include "third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h"
+
+namespace content {
+
+class WebMediaSessionAndroid : public blink::WebMediaSession {
+ public:
+ WebMediaSessionAndroid() = default;
+ virtual ~WebMediaSessionAndroid() = default;
+
+ void activate(blink::WebMediaSessionActivateCallback*) override;
+ void deactivate(blink::WebMediaSessionDeactivateCallback*) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebMediaSessionAndroid);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIASESSION_ANDROID_H_
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/android/webmediasession_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698