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

Unified Diff: components/encrypted_media/browser/encrypted_media_message_filter_android.cc

Issue 253593002: Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Componetized EncryptedMediaMessageFilter. 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/encrypted_media/browser/encrypted_media_message_filter_android.cc
diff --git a/chrome/browser/media/encrypted_media_message_filter_android.cc b/components/encrypted_media/browser/encrypted_media_message_filter_android.cc
similarity index 94%
rename from chrome/browser/media/encrypted_media_message_filter_android.cc
rename to components/encrypted_media/browser/encrypted_media_message_filter_android.cc
index 7afbec803a99a695b58a5e51fda1466fd307f340..9311e527c48f4ab3118faa329b213eb587b17247 100644
--- a/chrome/browser/media/encrypted_media_message_filter_android.cc
+++ b/components/encrypted_media/browser/encrypted_media_message_filter_android.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/media/encrypted_media_message_filter_android.h"
+#include "components/encrypted_media/browser/encrypted_media_message_filter_android.h"
#include <string>
-#include "chrome/common/encrypted_media_messages_android.h"
+#include "components/encrypted_media/common/encrypted_media_messages_android.h"
#include "ipc/ipc_message_macros.h"
#include "media/base/android/media_codec_bridge.h"
#include "media/base/android/media_drm_bridge.h"
@@ -16,7 +16,7 @@ using content::SupportedCodecs;
using media::MediaCodecBridge;
using media::MediaDrmBridge;
-namespace chrome {
+namespace encrypted_media {
const size_t kMaxKeySystemLength = 256;
@@ -111,4 +111,4 @@ void EncryptedMediaMessageFilterAndroid::OnGetSupportedKeySystems(
response->non_compositing_codecs = GetSupportedCodecs(request, false);
}
-} // namespace chrome
+} // namespace encrypted_media

Powered by Google App Engine
This is Rietveld 408576698