1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 var media = {}; 6 7 var doNothing = function() {}; 8 9 // Silence the backend calls. 10 media.initialize = doNothing; 11 media.addAudioStream = doNothing; 12 media.cacheEntriesByKey = doNothing; 13 media.onReceiveEverything = doNothing; 14 media.onItemDeleted = doNothing; 15 media.onRendererTerminated = doNothing; 16 media.onNetUpdate = doNothing; 17 media.onReceiveConstants = doNothing; 18 media.onMediaEvent = doNothing; 19