Index: ui/file_manager/video_player/js/cast/caster.js |
diff --git a/ui/file_manager/video_player/js/cast/caster.js b/ui/file_manager/video_player/js/cast/caster.js |
index ad704497ef039342e30afee962964e0db9bc2b2a..e349f03bf7965db772d6d9868fcf140490d917d0 100644 |
--- a/ui/file_manager/video_player/js/cast/caster.js |
+++ b/ui/file_manager/video_player/js/cast/caster.js |
@@ -10,21 +10,12 @@ |
// cast extension. This line prevents an exception on using localStorage. |
window.__defineGetter__('localStorage', function() { return {}; }); |
-/** |
- * @type {string} |
- * @const |
- */ |
-var CAST_COMMAND_LINE_FLAG = 'enable-video-player-chromecast-support'; |
- |
// THIS IS A TEST APP. |
// TODO(yoshiki): Fix this before launch. |
var APPLICATION_ID = '214CC863'; |
util.addPageLoadHandler(function() { |
- chrome.commandLinePrivate.hasSwitch(CAST_COMMAND_LINE_FLAG, function(result) { |
- if (result) |
- initialize(); |
- }.wrap()); |
+ initialize(); |
}.wrap()); |
/** |