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

Unified Diff: webkit/renderer/media/android/proxy_media_keys.h

Issue 17502007: Move webkit/renderer/media/android/ to content/renderer/media/android/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix shared lib Created 7 years, 6 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: webkit/renderer/media/android/proxy_media_keys.h
diff --git a/webkit/renderer/media/android/proxy_media_keys.h b/webkit/renderer/media/android/proxy_media_keys.h
deleted file mode 100644
index 9425dced08a58a884aa080304aa83be15f84b459..0000000000000000000000000000000000000000
--- a/webkit/renderer/media/android/proxy_media_keys.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2013 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 WEBKIT_RENDERER_MEDIA_ANDROID_PROXY_MEDIA_KEYS_H_
-#define WEBKIT_RENDERER_MEDIA_ANDROID_PROXY_MEDIA_KEYS_H_
-
-#include "base/basictypes.h"
-#include "media/base/media_keys.h"
-
-namespace webkit_media {
-
-class WebMediaPlayerProxyAndroid;
-
-// MediaKeys wrapper of the WebMediaPlayerProxyAndroid.
-// TODO(xhwang): Remove |player_id| from WebMediaPlayerProxyAndroid, make
-// WebMediaPlayerProxyAndroid a subclass of media::MediaKeys, then remove this
-// class!
-class ProxyMediaKeys : public media::MediaKeys {
- public:
- ProxyMediaKeys(WebMediaPlayerProxyAndroid* proxy, int media_keys_id);
-
- // MediaKeys implementation.
- virtual bool GenerateKeyRequest(const std::string& type,
- const uint8* init_data,
- int init_data_length) OVERRIDE;
- virtual void AddKey(const uint8* key, int key_length,
- const uint8* init_data, int init_data_length,
- const std::string& session_id) OVERRIDE;
- virtual void CancelKeyRequest(const std::string& session_id) OVERRIDE;
-
- private:
- WebMediaPlayerProxyAndroid* proxy_;
- int media_keys_id_;
-
- DISALLOW_COPY_AND_ASSIGN (ProxyMediaKeys);
-};
-
-} // namespace webkit_media
-
-#endif // WEBKIT_RENDERER_MEDIA_ANDROID_PROXY_MEDIA_KEYS_H_
« no previous file with comments | « webkit/renderer/media/android/media_source_delegate.cc ('k') | webkit/renderer/media/android/proxy_media_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698