summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-03-12 10:33:38 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-12 10:33:38 -0700
commitf67fdc6d8bb31226ffeeecbff6aca610befd0110 (patch)
treed9040fa17452df1d10c51ea18f9bff5e8f8843b8 /drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h
parentd64f3a376536a993fe6d81730b8b7b738500435e (diff)
parentbd2f13ddbe7a9e7550205f6b53880329e09b9457 (diff)
downloadframeworks_av-f67fdc6d8bb31226ffeeecbff6aca610befd0110.zip
frameworks_av-f67fdc6d8bb31226ffeeecbff6aca610befd0110.tar.gz
frameworks_av-f67fdc6d8bb31226ffeeecbff6aca610befd0110.tar.bz2
Merge "Avoid checking supported mime types or file suffixes in multiple places"
Diffstat (limited to 'drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h')
-rw-r--r--drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h b/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h
index 34804cf..c0e408e 100644
--- a/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h
+++ b/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h
@@ -499,6 +499,14 @@ ssize_t onPread(int uniqueId,
private:
+ static const String8 Description;
+ static const String8 FileSuffixes[];
+ static const String8 MimeTypes[];
+ static bool IsFileSuffixSupported(const String8& suffix);
+ static bool IsMimeTypeSupported(const String8& mime);
+ static void AddSupportedMimeTypes(DrmSupportInfo *info);
+ static void AddSupportedFileSuffixes(DrmSupportInfo *info);
+
/**
* Session Class for Forward Lock Conversion. An object of this class is created
* for every conversion.