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

Side by Side Diff: third_party/widevine/cdm/widevine_cdm_common.h

Issue 11474037: Several updates to canPlayType() results for EME (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WIDEVINE_CDM_COMMON_H_INCLUDED_ 5 #ifndef WIDEVINE_CDM_COMMON_H_INCLUDED_
6 #define WIDEVINE_CDM_COMMON_H_INCLUDED_ 6 #define WIDEVINE_CDM_COMMON_H_INCLUDED_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 9
10 // This file defines constants common to all Widevine CDM versions. 10 // This file defines constants common to all Widevine CDM versions.
11 11
12 // TODO(ddorwin): Eliminate Base entries: http://crbug.com/164303.
13 const char kWidevineBaseKeySystem[] = "com.widevine";
12 // "alpha" is a temporary name until a convention is defined. 14 // "alpha" is a temporary name until a convention is defined.
13 const char kWidevineKeySystem[] = "com.widevine.alpha"; 15 const char kWidevineKeySystem[] = "com.widevine.alpha";
14 16
15 const char kWidevineCdmPluginName[] = "Widevine HTML CDM"; 17 const char kWidevineCdmPluginName[] = "Widevine HTML CDM";
16 // Will be parsed as HTML. 18 // Will be parsed as HTML.
17 const char kWidevineCdmPluginDescription[] = 19 const char kWidevineCdmPluginDescription[] =
18 "This plugin enables Widevine licenses for playback of HTML audio/video " 20 "This plugin enables Widevine licenses for playback of HTML audio/video "
19 "content."; 21 "content.";
20 const char kWidevineCdmPluginMimeType[] ="application/x-ppapi-widevine-cdm"; 22 const char kWidevineCdmPluginMimeType[] ="application/x-ppapi-widevine-cdm";
21 const char kWidevineCdmPluginMimeTypeDescription[] = "Widevine HTML CDM"; 23 const char kWidevineCdmPluginMimeTypeDescription[] = "Widevine HTML CDM";
22 24
23 // File name of the plugin on different platforms. 25 // File name of the plugin on different platforms.
24 const FilePath::CharType kWidevineCdmPluginFileName[] = 26 const FilePath::CharType kWidevineCdmPluginFileName[] =
25 #if defined(OS_MACOSX) 27 #if defined(OS_MACOSX)
26 FILE_PATH_LITERAL("widevinecdmplugin.plugin"); 28 FILE_PATH_LITERAL("widevinecdmplugin.plugin");
27 #elif defined(OS_WIN) 29 #elif defined(OS_WIN)
28 FILE_PATH_LITERAL("widevinecdmplugin.dll"); 30 FILE_PATH_LITERAL("widevinecdmplugin.dll");
29 #else // OS_LINUX, etc. 31 #else // OS_LINUX, etc.
30 FILE_PATH_LITERAL("libwidevinecdmplugin.so"); 32 FILE_PATH_LITERAL("libwidevinecdmplugin.so");
31 #endif 33 #endif
32 34
33 #endif // WIDEVINE_CDM_COMMON_H_INCLUDED_ 35 #endif // WIDEVINE_CDM_COMMON_H_INCLUDED_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698