Update broken references to image assets
[chromium-blink-merge.git] / extensions / test / data / api_test / audio / volume_change / background.js
blob952f96c4e810e0829d44f0f019222f980a847e2a
1 // Copyright 2015 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.
5 chrome.audio.OnLevelChanged.addListener(function (id, level) {
6 if (id == 30001 && level == 60) {
7 chrome.test.sendMessage("success");
8 } else {
9 console.error("Got unexpected OnLevelChanged event id:" + id +
10 " level:" + level);
11 chrome.test.sendMessage("failure");
13 });
14 chrome.test.sendMessage("loaded");