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

Unified Diff: components/cdm/browser/encrypted_media_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: Renamed the component to 'cdm' and addresed the reviewers' comments Created 6 years, 8 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: components/cdm/browser/encrypted_media_message_filter_android.h
diff --git a/chrome/browser/media/encrypted_media_message_filter_android.h b/components/cdm/browser/encrypted_media_message_filter_android.h
similarity index 82%
rename from chrome/browser/media/encrypted_media_message_filter_android.h
rename to components/cdm/browser/encrypted_media_message_filter_android.h
index 9d426ae59a78faff34dc90cbd8bfbaccec5ff2e5..4e0460620c496e891ff3704b698ef5296c0fffb2 100644
--- a/chrome/browser/media/encrypted_media_message_filter_android.h
+++ b/components/cdm/browser/encrypted_media_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_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
+#define COMPONENTS_CDM_BROWSER_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
#include "base/basictypes.h"
#include "content/public/browser/browser_message_filter.h"
@@ -11,7 +11,7 @@
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.
@@ -38,6 +38,6 @@ class EncryptedMediaMessageFilterAndroid
DISALLOW_COPY_AND_ASSIGN(EncryptedMediaMessageFilterAndroid);
};
-} // namespace chrome
+} // namespace cdm
-#endif // CHROME_BROWSER_MEDIA_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_
+#endif // COMPONENTS_CDM_BROWSER_ENCRYPTED_MEDIA_MESSAGE_FILTER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698