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

Unified Diff: components/cdm/browser/cdm_message_filter_android.h

Issue 253593002: Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the empty library problem in macos build. Created 6 years, 7 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 | « components/cdm/browser/DEPS ('k') | components/cdm/browser/cdm_message_filter_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cdm/browser/cdm_message_filter_android.h
diff --git a/chrome/browser/media/encrypted_media_message_filter_android.h b/components/cdm/browser/cdm_message_filter_android.h
similarity index 68%
rename from chrome/browser/media/encrypted_media_message_filter_android.h
rename to components/cdm/browser/cdm_message_filter_android.h
index 9d426ae59a78faff34dc90cbd8bfbaccec5ff2e5..072fd471e486eca348c13425b4e14e0d39893314 100644
--- a/chrome/browser/media/encrypted_media_message_filter_android.h
+++ b/components/cdm/browser/cdm_message_filter_android.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_MEDIA_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
-#define CHROME_BROWSER_MEDIA_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
+#ifndef COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_
+#define COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_
#include "base/basictypes.h"
#include "content/public/browser/browser_message_filter.h"
@@ -11,17 +11,17 @@
struct SupportedKeySystemRequest;
struct SupportedKeySystemResponse;
-namespace chrome {
+namespace cdm {
// Message filter for EME on android. It is responsible for getting the
// SupportedKeySystems information and passing it back to renderer.
-class EncryptedMediaMessageFilterAndroid
+class CdmMessageFilterAndroid
: public content::BrowserMessageFilter {
public:
- EncryptedMediaMessageFilterAndroid();
+ CdmMessageFilterAndroid();
private:
- virtual ~EncryptedMediaMessageFilterAndroid();
+ virtual ~CdmMessageFilterAndroid();
// BrowserMessageFilter implementation.
virtual bool OnMessageReceived(const IPC::Message& message,
@@ -35,9 +35,9 @@ class EncryptedMediaMessageFilterAndroid
const SupportedKeySystemRequest& request,
SupportedKeySystemResponse* response);
- DISALLOW_COPY_AND_ASSIGN(EncryptedMediaMessageFilterAndroid);
+ DISALLOW_COPY_AND_ASSIGN(CdmMessageFilterAndroid);
};
-} // namespace chrome
+} // namespace cdm
-#endif // CHROME_BROWSER_MEDIA_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
+#endif // COMPONENTS_CDM_BROWSER_CDM_MESSAGE_FILTER_ANDROID_H_
« no previous file with comments | « components/cdm/browser/DEPS ('k') | components/cdm/browser/cdm_message_filter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698