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

Side by Side Diff: media/test/data/eme_player_js/globals.js

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: Polished! Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file contains global constant variables used by the application. 5 // This file contains global constant variables used by the application.
6 6
7 // Renewal message header. External Clear Key implementation returns this as 7 // Renewal message header. External Clear Key implementation returns this as
8 // part of renewal messages. 8 // part of renewal messages.
9 var EME_RENEWAL_MESSAGE_HEADER = 'RENEWAL'; 9 var EME_RENEWAL_MESSAGE_HEADER = 'RENEWAL';
10 10
(...skipping 27 matching lines...) Expand all
38 var WIDEVINE_KEYSYSTEM = 'com.widevine.alpha'; 38 var WIDEVINE_KEYSYSTEM = 'com.widevine.alpha';
39 var CLEARKEY = 'org.w3.clearkey'; 39 var CLEARKEY = 'org.w3.clearkey';
40 var EXTERNAL_CLEARKEY = 'org.chromium.externalclearkey'; 40 var EXTERNAL_CLEARKEY = 'org.chromium.externalclearkey';
41 var EXTERNAL_CLEARKEY_RENEWAL = 'org.chromium.externalclearkey.renewal'; 41 var EXTERNAL_CLEARKEY_RENEWAL = 'org.chromium.externalclearkey.renewal';
42 var FILE_IO_TEST_KEYSYSTEM = 'org.chromium.externalclearkey.fileiotest'; 42 var FILE_IO_TEST_KEYSYSTEM = 'org.chromium.externalclearkey.fileiotest';
43 var OUTPUT_PROTECTION_TEST_KEYSYSTEM = 43 var OUTPUT_PROTECTION_TEST_KEYSYSTEM =
44 'org.chromium.externalclearkey.outputprotectiontest'; 44 'org.chromium.externalclearkey.outputprotectiontest';
45 var PLATFORM_VERIFICATION_TEST_KEYSYSTEM = 45 var PLATFORM_VERIFICATION_TEST_KEYSYSTEM =
46 'org.chromium.externalclearkey.platformverificationtest'; 46 'org.chromium.externalclearkey.platformverificationtest';
47 var CRASH_TEST_KEYSYSTEM = 'org.chromium.externalclearkey.crash'; 47 var CRASH_TEST_KEYSYSTEM = 'org.chromium.externalclearkey.crash';
48 var VERIFY_HOST_FILES_TEST_KEYSYSTEM =
49 'org.chromium.externalclearkey.verifyhostfilestest';
48 50
49 // Key system name:value map to show on the document page. 51 // Key system name:value map to show on the document page.
50 var KEY_SYSTEMS = { 52 var KEY_SYSTEMS = {
51 'Widevine': WIDEVINE_KEYSYSTEM, 53 'Widevine': WIDEVINE_KEYSYSTEM,
52 'Clearkey': CLEARKEY, 54 'Clearkey': CLEARKEY,
53 'External Clearkey': EXTERNAL_CLEARKEY 55 'External Clearkey': EXTERNAL_CLEARKEY
54 }; 56 };
55 57
56 // General WebM and MP4 name:content_type map to show on the document page. 58 // General WebM and MP4 name:content_type map to show on the document page.
57 var MEDIA_TYPES = { 59 var MEDIA_TYPES = {
(...skipping 11 matching lines...) Expand all
69 var KEYSYSTEM_ELEMENT_ID = 'keySystemList'; 71 var KEYSYSTEM_ELEMENT_ID = 'keySystemList';
70 var MEDIA_TYPE_ELEMENT_ID = 'mediaTypeList'; 72 var MEDIA_TYPE_ELEMENT_ID = 'mediaTypeList';
71 var USE_MSE_ELEMENT_ID = 'useMSE'; 73 var USE_MSE_ELEMENT_ID = 'useMSE';
72 var USE_PLAY_TWICE_ELEMENT_ID = 'playTwice'; 74 var USE_PLAY_TWICE_ELEMENT_ID = 'playTwice';
73 75
74 // These variables get updated every second, so better to have global pointers. 76 // These variables get updated every second, so better to have global pointers.
75 var decodedFPSElement = document.getElementById('decodedFPS'); 77 var decodedFPSElement = document.getElementById('decodedFPS');
76 var droppedFPSElement = document.getElementById('droppedFPS'); 78 var droppedFPSElement = document.getElementById('droppedFPS');
77 var droppedFramesElement = document.getElementById('droppedFrames'); 79 var droppedFramesElement = document.getElementById('droppedFrames');
78 var docLogs = document.getElementById('logs'); 80 var docLogs = document.getElementById('logs');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698