// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Hack for polymer, notifying that CSP is enabled here.
// TODO(yoshiki): Find a way to remove the hack.
if (!('securityPolicy' in document))
document['securityPolicy'] = {};
if (!('allowsEval' in document.securityPolicy))
document.securityPolicy['allowsEval'] = false;
(function() {
// 'strict mode' is invoked for this scope.
'use strict';
// Base classes.
window.reload = reload;
window.unload = unload;
window.AudioPlayer = AudioPlayer;
})();