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

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

Issue 408993002: Have media content and chrome browser tests load data from media/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 // The PlayerUtils provides utility functions to binding common media events 5 // The PlayerUtils provides utility functions to binding common media events
6 // to specific player functions. It also provides functions to load media source 6 // to specific player functions. It also provides functions to load media source
7 // base on test configurations. 7 // base on test configurations.
8 var PlayerUtils = new function() { 8 var PlayerUtils = new function() {
9 } 9 }
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 default: 177 default:
178 Utils.timeLog(keySystem + ' is not a known key system'); 178 Utils.timeLog(keySystem + ' is not a known key system');
179 if (usePrefixedEME) 179 if (usePrefixedEME)
180 return PrefixedClearKeyPlayer; 180 return PrefixedClearKeyPlayer;
181 return ClearKeyPlayer; 181 return ClearKeyPlayer;
182 } 182 }
183 } 183 }
184 var Player = getPlayerType(testConfig.keySystem); 184 var Player = getPlayerType(testConfig.keySystem);
185 return new Player(video, testConfig); 185 return new Player(video, testConfig);
186 }; 186 };
OLDNEW
« no previous file with comments | « media/test/data/eme_player_js/media_source_utils.js ('k') | media/test/data/eme_player_js/prefixed_clearkey_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698